-
AuthorPosts
-
July 27, 2008 at 11:46 am #131399
Hi
As in this JA Edenite template we have class suffix “-hilite” with orange colour.
I want to create new custom module class suffix with “blue” colour
e.g -blueHow we can create this.
Thanks,
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 28, 2008 at 7:13 am #262666Hi manindersingh !
To create a new module class suffix you only create css for it :
Open template.css file in templates/ja_edenite/css folder , find following code sections at about line 647, 691 :
div.moduletable, div.moduletable_menu, div.moduletable_text, div.moduletable_hilite {
margin:0;
padding:0 10px 10px;
}
div.moduletable_hilite h3 {
background:#2C79B3 url(../images/grad2.gif) repeat-x scroll center bottom;
}
this is code section for “_hilite” module class suffix , you can base it and create css for new module class suffix.
August 2, 2008 at 12:56 am #263489Is it possible to setup a module class suffix that would allow me to remove the padding for the content area only? For example, I have an image that I would like to be flush to the top, left, of the module content area (mod_custom on right hand position) I tried messing with the class suffix instructions above but didn’t have any luck to remove the padding from only the content area.
When I modified the padding in a custom class suffix, it would also move the text in the module title over. I want to keep the padding in the title, but remove the padding around the image I am placing in the module.
Thanks,
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 2, 2008 at 7:28 am #263518Something like this then:
div.moduletable_yoursuffix {
margin:0;
padding:0;
}Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 4, 2008 at 2:26 am #263672exactly , thanks menalto !
Juan Carlos Stauring FriendJuan Carlos Stauring
- Join date:
- September 2014
- Posts:
- 250
- Downloads:
- 27
- Uploads:
- 12
- Thanks:
- 53
- Thanked:
- 19 times in 3 posts
July 28, 2009 at 11:16 pm #312490I’m trying to add a new class sufix to this template however no matter if I add a new sufix to the templates.css file I’m still not able to change the style when trying to position the module on “Top” replacing the “log in module”. >:( I’m probably missing a step.
1. Add style to the templates.css file correct2. on Module Class Suffix add the style i.e. -blank or what ever custom name given to the css added to the file. Also I tried -Hilite on the field but I get the same style over and over and I’m not able to change the look of the module position :((
Module Class Suffix for dummies anywhere on the forum?
jc
-
AuthorPosts
This topic contains 6 replies, has 5 voices, and was last updated by Juan Carlos Stauring 15 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum