Need to regain margin padding on left of page

GK User
Tue Apr 29, 2014 9:34 pm
example_left_side_padding.png
I've been doing a few tweaks to several style sheets and after a while noticed that the left margins have no padding on any of the main page content on the left- please refer to screenshot.
Where can I place more padding on the left so all the text and headers are not up against the left side?
I am using J 3.2.2
thankyou,
J
User avatar
Fresh Boarder

GK User
Tue Apr 29, 2014 11:55 pm
Could You please post an url to your site?
User avatar
Moderator

GK User
Fri May 02, 2014 6:59 pm
User avatar
Fresh Boarder

GK User
Sat May 03, 2014 8:53 am
Please edit: /templates/gk_esport/css/override.css and add at its end:
Code: Select all
#gkComponent .item-page {padding: 10px;}

Adjust 10px value to your liking.
Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sun May 04, 2014 3:28 pm
Thank you cyberek!!
User avatar
Fresh Boarder

GK User
Mon May 05, 2014 5:05 am
You might also use different top and side padding by adding 2 values:
Code: Select all
padding; 10px 20px;

This will create 10px top and bottom space and 20px on left and right.
User avatar
Moderator

GK User
Mon May 05, 2014 7:57 pm
Hi Cyberek,
Thanks. I did that and looks good now.

It seems I also lost the padding on the right side of the modules (see screenshot)
Thanks again.
right_side_module_padding.png

J
User avatar
Fresh Boarder

GK User
Mon May 05, 2014 9:18 pm
That goes for padding on the left and right side of the modules
User avatar
Fresh Boarder

GK User
Tue May 06, 2014 6:21 pm
Right sidebar, right padding:
Code: Select all
#gkRight {
padding-right: 18px !important;
}

If the problem will remain somewhere else - please post an url to exact place.
User avatar
Moderator


cron