-
AuthorPosts
-
March 26, 2012 at 12:58 pm #175409
I’m trying to create a different module look using the module class suffix, I added a pic of the module,I’m tring to get rid of the module padding. The suffix give me this module class :
<div class=”moduletable-inner clearfix”>
<div class=”ja-box-ct clearfix”>
<div class=”custom_logo” >
<p><img src=”/jelastica/templates/ja_elastica/images/shhuna-logo.png” border=”0″ /></p></div>
</div>
</div>
</div>The problem is that the padding is part of the moduletable-inner class which is a parent of my cutom_logo (suffix class). how can I cancel that padding ? I read that there is no way of reaching the parent css from the custom logo class/
Thanks
Amit
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 26, 2012 at 3:58 pm #445706Could you give me a link to your website?
March 26, 2012 at 4:41 pm #445718Sory khoand, at the moment I’m doing it localy with xampp
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 26, 2012 at 4:55 pm #445724You add the code into /templates/ja_elastica/css/template.css
.moduletable_logo div.moduletable-inner {
padding: 0;
}March 26, 2012 at 5:05 pm #445728That did the job! Thanks
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by amit_gur 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
CSS parent selector
Viewing 5 posts - 1 through 5 (of 5 total)