-
AuthorPosts
-
September 28, 2011 at 6:21 pm #169056
I have 2 questions:
1. Can someone tell me why the background color will not change on the home page? I have specified the module parameters to “_onepage_dark”. I would like the home page to have a dark background.
2. My other question is why page 2 has a dark background when I have the module parameters set to “_onepage_light”
Thanks for the help.
-
himangi Friend
himangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
October 4, 2011 at 9:12 am #416686Hi,
Even though the module class name suggests that the module should have some dark / light elements, the styling applied depends on what is defined for that class in your css file. In the current case where you have applied _onepage_dark may not have any styling defined in css, so nothing is changing. In case of _onepage_light may be set to have a dark background color, so you can see dark background instead of light..
I would suggest you to check template.css file in your template and change styling applied to the module classes you are using.
I hope i have explained it clear enough and it will help you solve your issue.
1 user says Thank You to himangi for this useful post
October 16, 2011 at 1:42 pm #419649Hi,
Just to compliment above information by himangi.Instead of changing the module parameters by choosing from top menu:
Extensions -> Module Managerchose:
Extensions -> Template Manager -> (choose) Ja_Cloris -> Layouts -> (edit layout name) “Default”
And change for example the default layout code like below (changes are marked with red color, “light” was replaced there with “dark”):<blockquote><page name=”about-us” type=”modules” title=”About us” class=”light first-item”>page1</page>
<page name=”features” type=”modules” title=”Features” class=”dark”>page2</page>
<page name=”services” type=”modules” title=”Services” class=”light”>page3</page>
<page name=”video” type=”modules” title=”Video” class=”dark”>page4</page>
<page name=”gallery” type=”modules” title=”Gallery” class=”dark“>page5</page>
<page name=”blog” type=”modules” title=”Blog” class=”light”>page6</page>
<page name=”faq” type=”modules” title=”Faq” class=”light”>page7</page>
<page name=”contact-us” type=”modules” title=”Contact us” class=”dark last-item”>page8</page></blockquote>Roberto Spellucci FriendRoberto Spellucci
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 9
- Uploads:
- 0
- Thanks:
- 5
April 27, 2012 at 3:45 pm #450546Hello,
but where should I change if I want to customize “light” and “dark” classes?
I’ve looked in th css files of the template but did not understand where.Thank you!
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 30, 2012 at 8:37 am #450727Hi tachis,
If you open the file of templates/ja_cloris/css/template.css, you would see a defined css for the dark class like this
div.dark {
background: url(“../images/noise-d.gif”) repeat scroll 0 0 transparent;
}with a similar css code like that can apply styles for any class that has been defined, hope you got it.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 5 voices, and was last updated by Sherlock 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-