• I’m trying to turn the background of the site into an advertisement, where the left and right margins past the content area are ads that can be clicked. I’m having trouble figuring out how to actually code that in CSS or HTML, and there’s not a lot online that I’ve seen. If anyone could offer help, that would be great.

Viewing 1 replies (of 1 total)
  • Background images are not clickable (although there are some CSS ways to get around that, but probably not the best way to do what you want)

    Another approach would be to put the ads inside a “wrapper” which contains the content area. Briefly, something like this:

    widths are just an illustration — not exact

    <outside wrapper div with width 1200px>
        <left side ad width 200px - CSS to float this div left>
            content of left side div = image that is a link
        <close left side div>
    
        <right side ad width 200px - CSS to float this div right>
            content of right side div = image that is a link
        <close right side div>
    
        <content div with width 800px>
          content div content
        <close content div>
    <close outside wrapper div>

    The content div would basically be what is currently the entire content of the page i.e. contains header, main section and footer section.

    You’d need a custom template and some extra CSS to do this.

Viewing 1 replies (of 1 total)
  • The topic ‘Takeover advertisement help’ is closed to new replies.