-
AuthorPosts
-
October 14, 2011 at 2:13 pm #169672
Hi Joomlart,
Have a bit of an issue.
I have created my own theme for the home page this is a carbon copy of the blue theme.
I have created lots of different modules across the home page he showing the title.
I am trying to give each module title a different background image I can see through firebug to change the following
div.ja-moduletable h3, div.moduletable h3 {
background-image:url(“http://10.1.1.174/AurumNet/templates/ja_teline_iv/images/HomeHeader.png”); background-repeat:repeat-x;
border-bottom: 3px solid #dccb80;
border-top: 3px solid #dccb80;
color: #000;
font: 125% ArialNarrowBold,”Arial Narrow”,Arial,sans-serif;
margin: 0;
padding: 8px 8px 5px;
text-transform:uppercase;
}This works fine however changes all the modules. is there a way of only changing specific modules background images?
Regards
Michael
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 14, 2011 at 3:26 pm #419364Hi
Please update me your live site URL and a screenshot w/ note which element you are looking for change ?
Thank you
Viet VuOctober 14, 2011 at 3:43 pm #419367Apoligies this is a internal business intranet.
Ann example would be
Module 1 Header Backgound image (BLUE)
Module 2 Header Backgound image (Red)
Module 3 Header Backgound image (Green)
Module 4 Header Backgound image (Black)
Module 5 Header Backgound image (Orange)
I can see I can add a class to each module but dont know how to reference this class in the css for the pageRegards
Michael
fdr77 Friendfdr77
- Join date:
- April 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 13
- Thanked:
- 3 times in 1 posts
October 14, 2011 at 5:38 pm #419389I have done so
div.ja-moduletable h3, div.moduletable h3 {
border-bottom: 1px solid #ddd;
border-top: 0px solid #ccc;
color: #000;
font: normal 125%/normal ArialNarrowBold, “Arial Narrow”, Arial, sans-serif;
margin: 0;
padding: 8px 8px 5px;
text-transform: uppercase;
}div.ja-moduletable, div.moduletable {
background: url(“../images/ja_gradient.png”) repeat-x scroll top #fff;
border: 1px solid #ccc;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* default */div.ja-moduletable_blu, div.moduletable_blu {
background: url(“../images/ja_blu.png”) repeat-x scroll top #fff;
border: 1px solid #ccc;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* suffix _blu*/div.ja-moduletable_tras, div.moduletable_tras{
background: none transparent;
border: 1px solid transparent;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/*suffix _tras */div.ja-moduletable_orange, div.moduletable_orange {
background: url(“../images/ja_orange.png”) repeat-x scroll top #fff;
border: 1px solid #ccc;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* suffix _orange*/div.ja-moduletable_red, div.moduletable_red {
background: url(“../images/ja_red.png”) repeat-x scroll top #fff;
border: 1px solid transparent;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* suffix _red */div.ja-moduletable_green, div.moduletable_green {
background: url(“../images/ja_green.png”) repeat-x scroll top #fff;
border: 1px solid transparent;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* suffix _green */div.ja-moduletable_black, div.moduletable_black{
background: url(“../images/ja_black.png”) repeat-x scroll top #fff;
border: 1px solid transparent;
margin: 2px 2px 4px 2px;
padding: 0;
border-radius: 2px;
}
/* suffix _black */jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 15, 2011 at 10:24 am #419466Cool, you have solved that yourself. We also have preset styles for some defined suffix classes for each template.
Thanks
Viet Vu -
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by jooservices 13 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum