Jump to content
Sign in to follow this  
LukeB

Grouping site elements

Recommended Posts

LukeB

Hi I??™m looking to for a way to combine some site elements so that it looks like one long box. As you can see on my site http://www.danceyrselfclean.com/ the navigation bar is separated from the main content of my site and i can??™t figure out how to prevent this. I??™m also looking to be able to move the combined elements down the page slightly by about 30px or so but i can??™t seem to get this to work without moving the entire background down as well creating white space at the top of the page. Any assistance would be appreciated. A couple of examples of what I??™m looking to achieve can be found at http://www.jajajamusic.com/ http://www.thelineofbestfit.com/ Regards Luke

Share this post


Link to post
Share on other sites
Jenny
Hi Luke. Have you checked out Firebug? (http://www.getfirebug.com) It will help you with determining what CSS needs to be changed. Add the following to your custom CSS. To move the center content up, use: [code]#page-main { margin-top: -5px; }[/code] If you don't want the double border, remove the one from the nav with: [code]#nav_row { border: 0 !important; }[/code] To move the whole page up, getting rid of the white space at the top, and to move the page area down 30px, use: [code]#page { margin-top: -5px; padding-top: 30px; }[/code] Hope that helps. :)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
LukeB
Thanks just what i was looking for. Yeah i use firebug but i cant always seem to find the correct CSS or select the exact element i want to change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×