- Posts: 94
- Thank you received: 0
RESOLVED: Adding left & right space to main area
-
scottshort
Inactive member - Topic Author
- Member
Less
More
12 years 6 months ago - 12 years 6 months ago #19878
by scottshort
RESOLVED: Adding left & right space to main area was created 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
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
Last edit: 12 years 6 months ago by scottshort. Reason: RESOLVED
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19886
by ivan.milic
Replied by ivan.milic on topic Adding left & right space to main area
.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;
}
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.
-
scottshort
Inactive member - Topic Author
- Member
Less
More
- Posts: 94
- Thank you received: 0
12 years 6 months ago #19900
by scottshort
Replied by scottshort on topic Adding left & right space to main area
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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19910
by ivan.milic
Replied by ivan.milic on topic Adding left & right space to main area
.content_wrap{
padding:20px;
}
padding:20px;
}
Please Log in to join the conversation.
-
scottshort
Inactive member - Topic Author
- Member
Less
More
- Posts: 94
- Thank you received: 0
12 years 6 months ago #19926
by scottshort
Replied by scottshort on topic Adding left & right space to main area
Hi Ivan,
I again guessed and added your code to layout.css and it worked and now looks great.
Thanks for your help
Scott
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