badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

About page/posts titles location

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #43344
    Heidi
    Participant

    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?

    https://dl.dropboxusercontent.com/u/17092571/Untitled-1.jpg

    #43345

    Hi 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!

    #43346
    Heidi
    Participant

    Hi, thank you. If I do that, whole title disappears. I need it to show before page/post content as in the picture

    #43350

    Hi 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/0915p7fse0

    Thank you!

    #43351
    Heidi
    Participant

    Hi, I don’t have anywhere that option what your screenshot shows.

    #43374

    Hi Heidi,

    To have that options view below screenshot.
    http://awesomescreenshot.com/02f5paikfb

    Thank you!

    #43381
    Heidi
    Participant

    Hi, I know and I have chosen that but still there is not option to hide/show page title anywhere.

    #43382

    Hi 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!

    #43384
    Heidi
    Participant

    Yes I’m sure. Site: http://www.actas.fi.testwww.yritysweb.fi

    My need is for all page/post titles etc

    #43440

    Hi 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!

    #43446
    Heidi
    Participant

    Hi, 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

    #43447
    Heidi
    Participant

    I tried this now without creating child theme. How to add h1 style fot title (echo ambition_header_title();) ??

    #43478

    Hi 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!

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.