RESOLVED: Adding left & right space to main area

More
12 years 6 months ago - 12 years 6 months ago #19878 by scottshort
Hi,

I would like to add some space on left and right of my main content area. The content is too close to edges. You can see examples of an article:



an ecommerce component product page:



and a real estate component page:



I tried to firebug these pages and found [and tried to modify] "item-page", "content-and-right", "content-wrap-top", and "content-wrap" but not sure if I should be changing "padding" or "margin" style.

Could you take a look and let me know file and code to add this spacing?

Thanks
Scott

ps links to moderator
Attachments:
Last edit: 12 years 6 months ago by scottshort. Reason: RESOLVED

Please Log in to join the conversation.

More
12 years 6 months ago #19886 by ivan.milic
.column_left .menu{
padding-left:<root padding>!important;
}

.column_left .menu > li > ul{
padding-left:<1st level padding>!important;
}

.column_left .menu > li > ul > li > ul{
padding-left:<2nd level padding>!important;
}

Please Log in to join the conversation.

More
12 years 6 months ago #19900 by scottshort
Hi Ivan

I think the code you gave me here is the same code from my other post about indenting submenus in Main Menu. Maybe you pasted it here in this post by mistake?

Thanks
Scott

Please Log in to join the conversation.

More
12 years 6 months ago #19910 by ivan.milic
.content_wrap{
padding:20px;
}

Please Log in to join the conversation.

More
12 years 6 months ago #19926 by scottshort
Hi Ivan,

I again guessed and added your code to layout.css and it worked and now looks great.

Thanks for your help

Scott

Please Log in to join the conversation.

Time to create page: 0.175 seconds
Powered by Kunena Forum