Margins in banner_left

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Apr 13, 2014 8:00 am
Reply with quote
Report this post
I want to set margins of images in mainbody-position on http://www.altenaweb.nl/nieuws. I've tried to set Module class suffix to clear but that doesn't seem to have any effect.

Any other way to set margins for that position?
User avatar
Expert Boarder

GK User
Sun Apr 13, 2014 9:51 am
Reply with quote
Report this post
Please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
#gkMainbody {
padding: 32px;
}


Modify the value to your liking.

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sun Apr 13, 2014 10:11 am
Reply with quote
Report this post
Added
Code: Select all
#gkMainbody {
padding: 10px !important;
}
to the override.css and it works great to change space left and right but not to the image margins top and bottom.

It must have something to do with the image-margins i guess.
User avatar
Expert Boarder

GK User
Sun Apr 13, 2014 2:56 pm
Reply with quote
Report this post
Could you mark on a screenshot exactly which spaces you would like to reduce?
User avatar
Moderator

GK User
Sun Apr 13, 2014 3:23 pm
Reply with quote
Report this post
Image
User avatar
Expert Boarder

GK User
Mon Apr 14, 2014 7:17 pm
Reply with quote
Report this post
Try disabling tinyMCE in global configuration and edit the module again, then remove padding that wraps arround the image - it should reduce the spacing.
User avatar
Moderator


cron