Remove padding from noborder1 module

Community fouces Joomla template to build a music magazine website with JomSocial support.
GK User
Sat Sep 15, 2012 12:21 pm
Hei

I cannot find a way to remove left and right padding from user1-12 modules, so when i insert an image, it would be from left edge to right edge, using noborder1 module class.

Help!

Thanks
User avatar
Senior Boarder

GK User
Sat Sep 15, 2012 12:36 pm
Hi

Please try adding "[space]clear" suffix to the modules.

If this doesn't help, please show us your website.
User avatar
Platinum Boarder

GK User
Sat Sep 15, 2012 12:39 pm
Hi,

Please add in the css/template.css file the following rule:

Code: Select all
.box.noborder1 > div {
     margin: 0!important;
}
User avatar
Administrator

GK User
Sat Sep 15, 2012 12:42 pm
This clears the background as well.

My testsite:
http://www.i-net.ee/demo/index.php/en/

I would like to remove the padding from left and right only, and keep the black background.

EDIT: Attached an example - i have tried adding code to override.css but i think i didn't get it right ;)

Thank You
User avatar
Senior Boarder

GK User
Sat Sep 15, 2012 12:46 pm
To remove the left/right padding please use this code:
Code: Select all
.box.noborder1 > div {
     margin: 12px 0!important;
}
User avatar
Administrator

GK User
Sat Sep 15, 2012 12:52 pm
Big thanks.... i was playing with padding, when the answer lied in margins :D

Thanks again
User avatar
Senior Boarder


cron