Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #724595

    how can I add a line of text in the top part of the Footer (above the column widgets?
    I need to add a quote there for a client.

    thx for help!

    • This topic was modified 8 years ago by thanhcng.
    #724991

    PLEASE REPLY SOON… THX!!!!!

    #725119

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    add_action('avia_before_footer_columns','avia_footer_top_column');
    function avia_footer_top_column(){ 
        $output = do_shortcode("[av_heading heading='\"Be the change that you wish to see in the world.\"' tag='h3' style='' size='' subheading_active='' subheading_size='15' padding='10' color='' custom_font='' custom_class=''][/av_heading]");
        echo $output; 
    }

    You will notice that i added a shortcode in there.
    You can enable debugging mode to see shortcodes you have created in pages using Advanced Layout Builder – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Or, You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg

    If you are not comfortable editing the code, please post the shortcode you would like to use here using – pastebin.com

    Cheers!
    Yigit

    #725126

    THANK YOU!!
    A lot.

    1,. I tried to make the phrase center on page via css (both in the functions.php & in my style sheet) but not working yet..
    how can I center it in the page?

    2. ALSO, not sure how to edit my quote in exactly correctly, since I don’t want the quote symbols ” ” in there..
    this is what I have now, correct?:

    add_action(‘avia_before_footer_columns’,’avia_footer_top_column’);
    function avia_footer_top_column(){
    $output = do_shortcode(“[av_heading heading='May All of Life Come to You With Ease & Joy & Glory<sup>®</sup>' tag='h3' style=' margin-right: auto;
    margin-left: auto;
    text-align: center;' size='' subheading_active='' subheading_size='15' padding='10' color='' custom_font='' custom_class=''][/av_heading]“);
    echo $output;
    }

    3. I also had an odd light ‘bottom border’ line that went to the right side of screen.. so I hid it with css.. not sure if that was the best fix for that?

    MANY THANKS!!!!

    • This reply was modified 8 years ago by thanhcng.
    #725130

    Arrgh.. I just noticed that the code messed up my 5 menu columns under the quote…
    sorry but I think I’ll just add the quote to the bottom of each page like I was doing for now.
    (I’m under too much pressure to finish from client to debug this for now…
    but may contact you in future to see if we find a more ‘proper’ WP way to do this …

    THANKS FOR YOUR TIME FOR NOW!!!!!
    Rand

    #725137

    Hi Rand!

    You are welcome! :) We will close this thread for now then. Please feel free to start a new one whenever it is needed :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘how to add a line of text at top of Footer’ is closed to new replies.