WordPress.org

Forums

Hueman
[resolved] Footer ad space (9 posts)

  1. Fatih KIBAR
    Member
    Posted 1 year ago #

    Hi Alx, great theme, thank you.

    Links on the page and the pictures on the bottom middle of the field how advertising can add to the space?

    Image Link: http://i.hizliresim.com/wL04Xa.png
    Web-site: http://www.fatihyollarda.com

    I appreciate your help thanks

    [ Please do not bump. ]

  2. Alexander Agnarson
    Member
    Posted 1 year ago #

    Hi! Thanks.

    You would add your divs and ad code by editing footer.php with a child theme and add it right above:

    <footer id="footer">

    If you want a widget area there, go to Theme Options > Sidebars > Add a new one and call it for example "footer-ads" (ID). Then add this there to show it:

    <div id="footer-ads">
    <?php dynamic_sidebar( 'footer-ads' ); ?>
    </div>
    <footer id="footer">
  3. Fatih KIBAR
    Member
    Posted 1 year ago #

    Thanks it worked great.

    How do I close this width? -> http://i.hizliresim.com/x8ozDQ.png

  4. Alexander Agnarson
    Member
    Posted 1 year ago #

    Nice! Try:

    #page { padding-bottom: 0; }
  5. Fatih KIBAR
    Member
    Posted 1 year ago #

    Excuse me, but where do I use this code: (

    <div id="footer-ads">
    <?php dynamic_sidebar( 'footer-ads' ); ?>
    { padding-bottom: 0; } ?
    </div>
    <footer id="footer">

  6. Alexander Agnarson
    Member
    Posted 1 year ago #

    You would need to either put it in the child theme's style.css, the theme's custom.css if you have that version which has that option, or use a custom css plugin.

  7. Fatih KIBAR
    Member
    Posted 1 year ago #

    I has been a challenge, I'm sorry, but I've tried yet again. I changed the line in the file style.css # page, but that gap was closing.

    Picture: http://i.hizliresim.com/KZRzRz.png

  8. Fatih KIBAR
    Member
    Posted 1 year ago #

    yes yes its work! Thank you so much :)

  9. karenstl
    Member
    Posted 1 year ago #

    I want to do the same thing. I have a version of the theme with CSS option. Can I just add the code there or do I have to have a child theme. I have no idea how to create a child theme or what to do once I create it. Not very techie but good at copy/paste if you tell me what to do and where to put it.

    My site: http://futureexpat.com

    I also want to put in a header ad exactly like Fatihyollarda did.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic