• Hello,

    I have seen a few wordpress sites around that have turned their background into an advert and I was wondering how they do this.

    Some sites have an image on the left instead of their background and again on the right. Some are top,left and right and I was wondering how do they do it?

    Is there a plugin?

Viewing 1 replies (of 1 total)
  • My guess is that it’s a custom theme or theme mod. If we presume a fixed width for the page content and that the content is centered on the page (leaving a gutter on the left and right sides), then one could create a custom background that is centered on the page and leaves the middle (where the content goes) blank, then modify the theme files to use this new background. The CSS properties background-image and background-position should solve the image placement for us nicely when used on the body tag.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Make your background an advert’ is closed to new replies.