WordPress.org

Ready to get started?Download WordPress

Forums

Webpages inside Background image (4 posts)

  1. cheeseforheathens
    Member
    Posted 2 years ago #

    Hello good people of WordPress.

    I'm trying to get my webpages inside of a background image I've made. To get an idea of what I'm talking about check out my website: http://hbartlessons.com/

    Is it possible to get those pages inside the middle of my background? I am aware that I'd probably have to make some changes to the image and the CSS style sheet. If any of you know what changes I would need to make to accomplish this please let me know what I'd have to. Or maybe there's a certain theme that would make this easier?

    I appreciate any help.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Oh - that's going to need an awful lot of work which is really beyond the scope of this forum.

  3. klevismiho
    Member
    Posted 2 years ago #

    You should have to put the image in a container div, for example

    <div style="background: url('background.jpg') no-repeat; width: 600px; height: 400px; margin: auto;">
    ALL THE CONTENT HERE
    </div>

    [Please post code snippets between backticks or use the code button.]

  4. cheeseforheathens
    Member
    Posted 2 years ago #

    Hi, thanks for your reply. That goes in my theme's styles sheet and no where else? Do I have to do anything to my theme before I attempt this?

Topic Closed

This topic has been closed to new replies.

About this Topic