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

    I updated the theme and the header ad had disappeared. I’m guessing because of the new Header.php. I’ve been trying to figure out where to place the ad code in there again. Right now I have it between the note Scripts/Css and ?php. It doesn’t seem to do anything except push my sites main section down as if it would appear above the logo/header. I don’t know anything about Php so I’m not sure if it’s in the entirely wrong place or not.
    — Just to clarify I’m trying to put the leader board shaped ad next to the logo.

    Also I was wondering, if I wanted to put an add in the border sections around main content/blog, how can I do that?

    Thanks in advance. Best customer support ever.

    • This topic was modified 9 years, 9 months ago by Barabbas.
    #399247

    Hi Barabbas!

    Did you do a customization but it was overwritten on a theme update? You can click on “Account Overview” on the right hand side of this screen to view all of your past topics.

    If you cannot find it then you can try doing this instead, http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/, to add a widget area to your header. You could then drag a text widget to the area and use HTML to display an image.

    <img src = "#" />
    

    Best regards,
    Elliott

    #400991

    Yes prior to this last enfold update I had a Google Adsense code inside the header.php and then after updating it seems I can no longer plug it in there. I tried following the directions in your link above in put that code at the bottom of the fuctions.php file but it caused my site to crash not load so I went in through a file manager and deleted the code and it’s back to normal. I don’t know any php, when it says the bottom does it mean before the last semi-colon? http://WWW.MashItOut.com — Site I’m trying to add the header banner ad to.

    • This reply was modified 9 years, 9 months ago by Barabbas.
    #401345

    Hi!

    First of all, make sure to use a child theme so that you don’t have to do this again. This video will show you how: https://vimeo.com/67221517

    Cheers!
    Rikard

    #406656

    I still haven’t got around to making the child theme but I followed the instructions on http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ and now I have the ad up there but it’s covering the menu and logo etc. How do I adjust that? I believe it’s setup correctly based on the instructions.

    #406843

    Hi!

    Add this to the Quick CSS field:

    #header .widget {
    position: absolute;
    right: 0;
    top: -80px;
    }

    Remove the “echo” on this line:

    echo dynamic_sidebar( 'header' );
    

    Regards,
    Ismael

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