Magazine Theme – Adding Footer header

Community Forums Forums Design Tips and Tricks Magazine Theme – Adding Footer header

This topic is: not resolved

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  SoZo 2 years, 1 month ago.

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

    JenniB
    Participant
    Post count: 19

    Hi,

    I have used the footer widgets in the Magazine theme (changed them from 3 to 5) but I can’t find where to add an H4 tag for a title to the whole section. I want to place this code:

    echo ‘<h4>QUICK LINKS</h4>'; above the 5 footer widgets over the entire width of all 5 widgets.

     

    Nick gave me this code:

    add_action( 'genesis_before_footer', 'child_before_footer', 1 );
    function child_before_footer() {
    echo '<h4>QUICK LINKS</h4>';

    But when implemented, it places the H4 tag above the footer shown here: http://infomediallc.com/assistente/. Anyway to move it into the footer widget area?

    Thanks!

    • This topic was modified 2 years, 1 month ago by  nickthegeek.
    • This topic was modified 2 years, 1 month ago by  nickthegeek.
    #759

    SoZo
    Moderator
    Post count: 1573

    No you’ll need to wrap your heading in a div then style both that div and the footer-widgets div so that it appears they are connected.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #769

    JenniB
    Participant
    Post count: 19

    How do I do that when I can’t see where the footer-widget is called? I can see the CSS for the footer-widget, but not where in the theme its called.

    Thanks

    #778

    SoZo
    Moderator
    Post count: 1573

    Not sure what you mean by where it’s called. The CSS is what you need to edit, e.g. if you want a border to wrap both your new heading div and the footer-widgets div then you would only add top, left, and right borders to the heading div and then bottom, left and right border to the footer-widgets div and don’t include any margin between the two.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #989

    JenniB
    Participant
    Post count: 19

    Thank you for your help. I did what you said and got it to work!

     

    Thanks,

    Jenn

    #990

    SoZo
    Moderator
    Post count: 1573

    You’re welcome :)


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Magazine Theme – Adding Footer header’ is closed to new replies.