|
||||
|
sod off! I'm going to have a poke around your code...
__________________
Nikon D7000:18-105mm VR Kit, Nikkor 35-70mm 2.8AF, Nikkor 50mm f/1.8d AF, Sigma 150-500mm f/5-6.3 AF, SB600 Web Design of Palm Beach Photo Blog Become a Fan on Facebook |
|
||||
|
Your template doesn't have the necessary containers to simply change the CSS styles like this. It wouldn't be too difficult to add them, but, depending on how it's built, you may need to make edits to several different files within the theme, as well as the CSS, to get it looking the way you want.
|
|
||||
|
The easiest thing to do would be to find the body tags in each of the theme files and immediately after that add a div then before each closing body tag, add the closing div tag.
Something like this: HTML Code:
<body> <div id="container"> ... </div> </body> </html> You can then style this as you see fit. Just add something like this to your style.css file. HTML Code:
#container {
width: 800px;
margin-left: auto; margin-right: auto;
background-color: #00ff00;
}
Last edited by dakwegmo; 04-14-2011 at 02:22 PM. |
|
||||
|
Very likely this is a style in your stylesheet. If you need help finding it, let me know. I'm not exactly certain which site you're talking about (Al Borrelli Photography or you blog). I can see where this might apply on your blog, and if this is what you're talking about, it should be a relatively easy fix -- something like the attached, maybe?
|
|
||||
|
Ignore what I said above. It looks like you do have the container div, so it would just be a matter of setting the background color in style.css, for #container.
Find this: HTML Code:
#container {
margin: 0 auto;
width: 800px;
background-color: none;
padding: 20px 50px;
}
Last edited by dakwegmo; 04-14-2011 at 02:32 PM. |
|
||||
|
looks like you have your answer!
__________________
Nikon D7000:18-105mm VR Kit, Nikkor 35-70mm 2.8AF, Nikkor 50mm f/1.8d AF, Sigma 150-500mm f/5-6.3 AF, SB600 Web Design of Palm Beach Photo Blog Become a Fan on Facebook |
|
||||
|
Wow.. all of you are quick.. and good.
Yes, David, that's what I want to do. Well, at least on my blog and perhaps on other individual pages. Is it considerably more difficult to do it on selective pages, such as my "Bio" page and others? If so, I'd be happy to just have my blog "fixed". Dakwegmo - I assume that code would also be the place I could change the container size as well (were I want to, no plans yet)? Seriously, thanks guys.. should have come here long ago it's just I like to figure things out on my own. ![]() I'll see what happens when I try now. You guys rock. |
|
||||
|
It works!!
What does the "padding" do.. does that mean I can shift the whole Container down/up/left/right? I'd like to shift my whole container down as the b/g color now blocks part of my logo... You guys can bill me .. ![]() EDIT don't judge my color selection just yet.. just playing ATM.
__________________
Al Borrelli Photography (being re-awesomefied.. pls be patient!) I'll make you look good Flickr | Twitter | Tumblr | about.me | Vimeo | 500Px Last edited by BigFuzzy; 04-14-2011 at 03:03 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.
This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.
Enter your email address for
Daily Updates:
For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!
To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.
Enter your email address for
Free Weekly Newsletter: