• First, I’m relatively new to WordPress, so bare with me….

    I’d like to add an outerwrapper to my blog….I have a .png file that is like a shaded border. I have put the .png file in my images folder on my server under the theme.

    Now I would like to add the image to my the edges of the blog’s body…my blog is https://www.visionphotographs.com/blog.

    I just don’t know how to do it….if you can direct me where to insert php and what php code to insert I would greatly appreciate it. Thanks!

    Erica

Viewing 15 replies - 1 through 15 (of 17 total)
  • I would make a guess – since your link returns a 404 error – that this should be inserted as a body element as a bg image.

    Thread Starter visionphotographs

    (@visionphotographs)

    oops…sorry it added a period at the end.

    https://www.visionphotographs.com/blog

    Well how would I do that….I already have a background image…and the outerwrapper I’m talking about would go around the body (center column) of the entire blog…

    Thread Starter visionphotographs

    (@visionphotographs)

    bumping…would really like anyone’s help!

    Thread Starter visionphotographs

    (@visionphotographs)

    I tried inserting into the body…but I’m not sure how to tag it…any help anyone?

    have you read anything in the codex on css? troubleshooting style issues? anything?

    Thread Starter visionphotographs

    (@visionphotographs)

    Yes I’ve searched everywhere to see how I can add this and I can’t find anything. I’ve tried so many different ways to do this…trying to interpret posts…but I can’t figure it out…that’s why I posted in here.

    Again, I’m not a pro at word press…Thanks for any help!

    well your asking how to add PHP

    if you can direct me where to insert php and what php code to insert …

    and PHP has nothing to do with stylesheets.

    So the answer to my question would be no.

    Thread Starter visionphotographs

    (@visionphotographs)

    Well that’s my question….is it something that I can do in the css or is it in the php sections?

    If you can’t help…not sure why you are answering. I’m trying to get help, not get harassed. I’ve asked really nicely as I really need help. I am no pro on this. I’m not sure why you started being rude. I’m asking for a nice person to help if they can. If not, then I guess I don’t get what I’d like, which is more than OK. I will survive.

    what you are trying to add is not PHP, no. However, you need to edit your theme files to add it, and those theme files contain PHP

    you said this:

    I’d like to add an outerwrapper to my blog

    do you not know what *that* is?

    Im not asking to be rude. Im trying to figure out if you know *what* code you want to use. I dont think that you do.

    something that is going to be show up on the edges of your theme will need to go immediately inside the html tags, opening and closing.

    usually the opening html tag is inside the themes header.php and the closing html tag is inside footer.php

    Thread Starter visionphotographs

    (@visionphotographs)

    Yes I know what it would look like. Below is an example on a blog:

    https://chelseabeckphotography.com/blog/

    It’s the shading one the edges of the middle page area.

    On her css it says #outwrapper…which is where I came up with that term. However, maybe that’s not the right term, I’m not sure.

    So it sounds like some sort of code would go in the header.php area. That is definitely a start.

    This is what her code says, but I don’t think it would work for my blog…I think you are right and some sort of code needs to be in my header.php area…I’m just not sure what that code is.

    /* ———————- */
    /* —–LAYOUT STUFF—– */
    /* ———————- */
    #outerwrapper {
    width: 994px;
    margin:0 auto;
    background: url(https://visionphotographs.com/blog/wp-content/themes/jillij-flash/images/hover.png) repeat-y;
    }
    #wrapper {
    background:#ffffff;
    width:980px;
    margin:0px auto 0px auto;
    }

    maybe something like
    <div id="outerwrapper">
    in your header.php

    and something like
    </div>
    in your footer.php

    and define the #outerwrapper in your theme’s style.css stylesheet

    You could have avoided all this by simply asking something like “I have an image I would like to use as a background on my site, Can anyone offer any advice on WHAT I NEED TO DO TO DO THIS?”

    #container is a styles term. CSS “styles” the markup (HTML) on a site. PHP is an entirely different issue. Using terms you are not familiar with just causes problems. State your question in basic terms. In your case – the answer would be a styles (CSS) issue – not PHP.

    And I repeat – your link is not working. Makes it rather hard to see your source and make an educated guess what you need to change for the desired effect, no?

    Thread Starter visionphotographs

    (@visionphotographs)

    I didn’t bring up php…Whoami did…he said it was a php issue. I’m just going off what you guys say…I don’t know which it is.

    My site is:
    https://www.visionphotographs.com/blog

    The site shading background I am trying to replicate is:
    https://chelseabeckphotography.com/blog

    Thanks.

    I didn’t bring up php…Whoami did…he said it was a php issue.

    eh-eh-eh

    lets review your very first post:

    First, I’m relatively new to WordPress, so bare with me….

    I’d like to add an outerwrapper to my blog….I have a .png file that is like a shaded border. I have put the .png file in my images folder on my server under the theme.

    Now I would like to add the image to my the edges of the blog’s body…my blog is https://www.visionphotographs.com/blog.

    I just don’t know how to do it….if you can direct me where to insert php and what php code to insert I would greatly appreciate it. Thanks!

    thats not me, and im female. Now please, carry on.

    fwiw, dgold gave you the answer — he didnt give you the “hold my hand please” answer but it is the answer, all the same.

    Thread Starter visionphotographs

    (@visionphotographs)

    Ugh you are correct…gosh it’s way too late for me to be doing this…OK so I am sorry for that. Anyway, it seems like I have to work in both the php and css. So I will see what I can do with Dgold’s answer. It’s kind of working…I’m sure I will figure it out.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How to add #outerwrapper’ is closed to new replies.