• officialscorer

    (@officialscorer)


    I have seen sites that display ads in what appears to be a sidebar outside the theme used. BuzzMachine comes to mind.

    How could I do the same? And if I wanted the ads to begin below the masthead, could that be configured too?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Samuel B

    (@samboll)

    I assume you would need to reserve an area in the background for this to work?

    Thread Starter officialscorer

    (@officialscorer)

    I have been looking at this and have concluded I do not know how to do this.

    Can anyone hold my hand through this? I would appreciate the help.

    davidchait

    (@davidchait)

    OMG. how ugly. both in looks, and code.

    He modified the base theme. Added a table wrappering the entire thing, a column for the blog theme, and a column (and sub-table) for the advertising. Yeeesh.

    -d

    Thread Starter officialscorer

    (@officialscorer)

    Then how should this be done? I like the effect, but have no idea how to do it.

    FWIW, the ads I would like to use are my own ads to direct readers to certain content of mine on other sites.

    The theme I am using, Impact, is already full of content and I see no space I want to devote to ads in what I currently have. Therefore, I want to do something like what Jarvis has done and place these ads outside the theme, as it were.

    I just don’t know how to even begin going about doing this.

    moshu

    (@moshu)

    Despite the appearances nothing is really “outside” of the theme. It might look like not being an integral part of the blog itself, but you still have to edit the template files of a theme to get that effect.
    In some way you have to add to the original design/theme either a table (ugly – as it has been said above) or some divs… It would involve editing more files + the stylesheet and so on.

    Yeah, if you want to quickly hack it in, the ‘table wrap’ approach gets the job done quick and dirty. That’s the ‘non-CSS’ approach. In theory you could do it wrapping a div around the main blog and float a div to the right, but in practice CSS is more tricky and complex than that… I’d stick with tables… 😉

    I actually have nothing against tables. I think they can simplify things that the CSS box model (and it’s abuse by the various browsers 😉 ) can’t do simply. This is one case where it’s just easy to throw together.

    You’d likely need to start the table and the td that wrappers the blog in header.php, close the td in footer.php and then add in the second td, the advertisement, close the td, close the table, done.

    should work…

    -d

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ads Outside Theme’ is closed to new replies.