- This topic has 12 replies, 2 voices, and was last updated 8 years, 9 months ago by Theme Horse Support Team.
-
AuthorPosts
-
March 10, 2016 at 8:08 am #43344HeidiParticipant
Hi, another wish from my client. I hope I can do this some way – page/posts titles should be moved to default position.
100% width titles with background is not needed, see picture below. Is this possible? I know some file should be edited in layout but which one?March 10, 2016 at 9:23 am #43345Theme Horse Support TeamKeymasterHi Heidi,
To remove the blue bar page title go to Appearance -> Theme Options/ customise -> Design Options Tab -> Custom CSS paste the following CSS code and Click on save all changes button:
.page-title-wrap { display: none; }
Thank you!
March 10, 2016 at 9:28 am #43346HeidiParticipantHi, thank you. If I do that, whole title disappears. I need it to show before page/post content as in the picture
March 10, 2016 at 10:46 am #43350Theme Horse Support TeamKeymasterHi Heidi,
Go to specific page. There you might have hidden the page title. Uncheck it so that you will get page title.
View below screenshot.
http://awesomescreenshot.com/0915p7fse0Thank you!
March 10, 2016 at 11:10 am #43351HeidiParticipantHi, I don’t have anywhere that option what your screenshot shows.
March 11, 2016 at 5:48 am #43374Theme Horse Support TeamKeymasterHi Heidi,
To have that options view below screenshot.
http://awesomescreenshot.com/02f5paikfbThank you!
March 11, 2016 at 8:46 am #43381HeidiParticipantHi, I know and I have chosen that but still there is not option to hide/show page title anywhere.
March 11, 2016 at 10:02 am #43382Theme Horse Support TeamKeymasterHi Heidi,
Are you sure? This will only occur in below of the page not in the post. This will be displayed at the below of the page. Also could you provide your site Url too so that it will be more easy for us to help you
Thank you!
March 11, 2016 at 10:10 am #43384HeidiParticipantYes I’m sure. Site: http://www.actas.fi.testwww.yritysweb.fi
My need is for all page/post titles etc
March 14, 2016 at 10:16 am #43440Theme Horse Support TeamKeymasterHi Heidi,
We are sorry that you are using ambition pro theme and posting the topic in attitude pro forum post. Please post your topic on related theme. As this feature is not available at ambition pro. This is only available at attitude pro theme.
Yes to remove the page title from header and want to have as shown in above screenshot then it needs code customization.
Go to theme folder (ambition-pro -> inc -> structure -> content-extension.php on line no 120 to 127 ) you will find below code
/****************************************************************************************/ add_action( 'ambition_before_loop_content', 'ambition_loop_before', 10 ); /** * Contains the opening div */ function ambition_loop_before() { echo '<div id="main">'; }
replace it with this below code
/****************************************************************************************/ add_action( 'ambition_before_loop_content', 'ambition_loop_before', 10 ); /** * Contains the opening div */ function ambition_loop_before() { echo '<div id="main">'; echo ambition_header_title(); }
Before making changes in the code first create a child theme and then customize the code to be safe from data loss while updating to new version.
Thank you!
March 14, 2016 at 11:48 am #43446HeidiParticipantHi, sorry I was not meant to post this to wrong category!
I did not manage to create child theme, I tried it this way: https://codex.wordpress.org/Child_Themes
March 14, 2016 at 11:53 am #43447HeidiParticipantI tried this now without creating child theme. How to add h1 style fot title (echo ambition_header_title();) ??
March 15, 2016 at 10:51 am #43478Theme Horse Support TeamKeymasterHi Heidi,
If you are unable to create a child theme then while updating to new version all your customized code will be lost. So you need to customize code manually each and every time while updating to new version.
Here is an example how to create a child theme or find in forum. We have replied many times about the child theme. This is just an example to create a child theme.To add h1 style you better use below code
echo '<h1>'.ambition_header_title() .'</h1';
Hope this may help you
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.