-
AuthorPosts
-
April 13, 2012 at 2:25 am #176084
i put 2 custom html modules in sl1-r and removed the padding in the css file but there is still like 10px of padding only on the bottom . how do i remove it? attached is a picture of the module
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 13, 2012 at 2:49 am #448281So that I can best try to assist you, please provide the url of the site you’re working on,
as well as set “Optimize CSS” to “No” within your Template Manager–General SettingsApril 13, 2012 at 3:03 am #448282TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 13, 2012 at 3:25 am #448283Within file path –> /templates/ja_teline_iv/css/template.css
at line 456, you will see the following:
<blockquote>div.ja-moduletable .ja-box-ct, div.moduletable .ja-box-ct {
padding: 1px;
}</blockquote>add a negative “margin-bottom” property, as follows:
<blockquote>div.ja-moduletable .ja-box-ct, div.moduletable .ja-box-ct {
margin-bottom: -15px;
padding: 1px;
}
</blockquote>Hope That Helps
1 user says Thank You to TomC for this useful post
April 13, 2012 at 3:40 am #448285Worked like a charm, thank you very much,
Gina
April 23, 2012 at 6:58 am #449690Hi Tom,
Although the margin bottom property worked nicely for two of the positions, it made other positions a problem. Is there a way to apply styling to modules by their div id#? For instance, we need div id=”Mod233″ to have the negative margins applied, but not the other modules in the same class.
Our challenge is the space below the “side 1, side 2 and side 3” advertising positions, without collapsing the other modules.
http://www.sierranewsonline.com
pass: tom
user: telinethank you
GinaAuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by ginac 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
cant remove padding from custom html module in sl1-r position
Viewing 6 posts - 1 through 6 (of 6 total)