-
AuthorPosts
-
mx5gr Friend
mx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 22, 2010 at 11:43 am #154533We have been testing JA Social and we want to perform some customizations before proceeding.
First of all, we want to change the background of a module, by providing a module suffix. We use:
div.ja-moduletable.moduletable_banners .ja-box-ct ,div.moduletable.moduletable_banners .ja-box-ct{
background: #DCDCDC! important;
}
where “_banners” is the module suffix that we are using.
However, when the above tag is added, the entire design of the module box with the contents is destroyed. How can we preserve the rounded box design but change the module background for the specific suffix?
In addiion, we are trying to add a background image to JA-Tabs. We use mod_jatabs for publishing two other modules. However, when we add the backround:
div.ja-moduletable-news h3, div.moduletable-news h3 {
background: url(../images/news.gif) no-repeat left top;
color: #fff;
font-size: 110%;
font-family: "Segoe UI", Helvetica, sans-serif;
font-weight: bold;
margin: 0;
padding: 10px 15px;
text-transform: uppercase;
}
(“-news” is the module suffix) then the same background appears to tabs as well. We want the background to appear ONLY at mod_jatabs header and not within the tabs titles themselves.
We have been struggling with those, to no effect. Can you help?
hilfiger Friendhilfiger
- Join date:
- September 2010
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 17
- Thanked:
- 6 times in 1 posts
September 22, 2010 at 12:44 pm #356376Ive been strugling with this yesterday too, with same results. Modules lose rounded corners.
Also didnt find where to change the text colors of the module with the new sufix
mx5gr Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 22, 2010 at 12:54 pm #356377Anyone to the rescue?
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
September 22, 2010 at 1:00 pm #356378<em>@mx5gr 195076 wrote:</em><blockquote>How can we preserve the rounded box design but change the module background for the specific suffix?</blockquote>
Try add this at end of template.css file along with same suffix entered earlier by you
#ja-container div.moduletable_basic{background:#ccc;}
mx5gr Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 22, 2010 at 2:51 pm #356385<em>@aman204 195089 wrote:</em><blockquote>Try add this at end of template.css file along with same suffix entered earlier by you
#ja-container div.moduletable_basic{background:#ccc;}</blockquote>
Tried
#ja-container div.moduletable_basic{background:#ccc;}
and
#ja-container div.moduletable-news{background:#ccc;}
(“-news” is the suffix)
#ja-container div.moduletable_basic.moduletable-news{background:#ccc;}
to no effect…
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
September 22, 2010 at 5:33 pm #356396Hi mx5gr,
Will it be possible for you to please pm me superadmin details to take closer look as i tried it on local and seems to be working fine
To know, Please check if you have enabled development mode in template parameters and ensure to have template.css file writable
mx5gr Friendmx5gr
- Join date:
- September 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 23, 2010 at 12:52 pm #356484<em>@aman204 195116 wrote:</em><blockquote>Hi mx5gr,
Will it be possible for you to please pm me superadmin details to take closer look as i tried it on local and seems to be working fine
To know, Please check if you have enabled development mode in template parameters and ensure to have template.css file writable</blockquote>
Please check your PM
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
September 24, 2010 at 11:59 am #356569I am unable to see any such reference added::
#ja-container div.moduletable_banners{background:#ccc;}
Urszula Dziki FriendUrszula Dziki
- Join date:
- September 2014
- Posts:
- 221
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 34
- Thanked:
- 20 times in 1 posts
September 26, 2010 at 7:55 am #356681all works well for me I have changed colours for backgrounds for modules and titles in template.css and all work fine for me they still grab rounded corners
Urszula Dziki FriendUrszula Dziki
- Join date:
- September 2014
- Posts:
- 221
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 34
- Thanked:
- 20 times in 1 posts
September 27, 2010 at 1:23 am #356735but i spoke too soon. Work perfect but in exploer of couse not .. i can see your point now why you got not rounded corners. So I removed totally template-ie.css ( not sure if it is right way to do so ) but worked for me
adjusted also my templates for other backgrounds for explorer 8 7 etc I checked so far all explorers versions except 6 and workedhilfiger Friendhilfiger
- Join date:
- September 2010
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 17
- Thanked:
- 6 times in 1 posts
September 27, 2010 at 2:07 am #356738<em>@di38 195580 wrote:</em><blockquote>but i spoke too soon. Work perfect but in exploer of couse not .. i can see your point now why you got not rounded corners.</blockquote>
Can u make a guide for this?
Thanx
Urszula Dziki FriendUrszula Dziki
- Join date:
- September 2014
- Posts:
- 221
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 34
- Thanked:
- 20 times in 1 posts
September 27, 2010 at 3:05 am #356743I am not an expert in css so it might be better way to do so.here is to create box like this
but you can play with background too
Anyhow what I did I added to template.css
/*my suffix green title background*/
div.ja-moduletablegreen h3, div.moduletablegreen h3 {background: url(../images/greenbg.gif) repeat-x left top #11663b;
and placed my suffix ‘green’ in module But you can do combination of these with bg like this for example
It didn’t work for me in explorer though and i had extra errors too so I simply delated template-ie.css I don’t know why…..not so smart but somehow I had various errors when this file was in my css folder. It might be wrong but working for me and I tested on most of the browsers.
I hope that helps….let me know
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2010 at 3:36 am #356749You try to
replace:
div.ja-moduletablegreen h3, div.moduletablegreen h3 {
background: url(../images/greenbg.gif) repeat-x left top #11663b;
}
to=>
div.ja-moduletablegreen h3, div.moduletablegreen h3 {
background: url(../images/greenbg.gif) repeat-x left top #11663b!important;
}
1 user says Thank You to Saguaros for this useful post
Urszula Dziki FriendUrszula Dziki
- Join date:
- September 2014
- Posts:
- 221
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 34
- Thanked:
- 20 times in 1 posts
September 27, 2010 at 8:53 am #356790it worked for me without !important but thank you 🙂 i will do that too 🙂
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 5 voices, and was last updated by Urszula Dziki 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum