Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Snowflake" Joomla template.

Topic-icon Different Styles to different pages

More
7 years 4 months ago #1191 by ybc
ybc created the topic: Different Styles to different pages
hi guys

does anyone know how to make a page have its own preset style

for example im designing a touring company website and they do summer winter and spring tours now snowflake is the winter theme but when they choose in the menu to go to summer tours i want the background and the colors to change when they click on the page is there a way that i could have a css for different pages with different images as background and menus.

please help me out


cheeeeeerrss

yasser :woohoo:

Please Log in to join the conversation.

More
7 years 4 months ago #1193 by milos
milos replied the topic: Re: Different Styles to different pages
Hi Yasser,

Find folder /templates/hot_snowflake/styles and you'll see 5 files inside, style1.php, style2.php, etc.

Open, in example, style1.php in plain text editor. You will find all template parameters in each file, like this:
$backgroundImage="bg2";
$backgroundColor="#999";
$topMenuBg="#7e8182";
...
In this example, background is set to bg2, background color is #999, top menu background is #7e8182, and so on...

So, use Custom style while testing and making your own style, then just copy all data in file style1.php. Then, test and make another style and copy data to style2.php, and so on.

This explanation is valid for all our templates with custom styles support.

Please Log in to join the conversation.

More
7 years 4 months ago #1195 by ybc
ybc replied the topic: Re: Different Styles to different pages
Thanx for the quick reply Milos

i know how to do that but how can i set that style to a particular page once the clients click on a menu to go to a certain article the style changes to say style3.

cheers

Please Log in to join the conversation.

More
7 years 4 months ago #1196 by milos
milos replied the topic: Re: Different Styles to different pages
You should make link like "yoursite.com/index.php?style=3".

There could be other parameters, like this "yoursite.com/snowflake/index.php?option=com_content&view=article&id=21&Itemid=61&style=1" beside the style parameter.

Please Log in to join the conversation.

More
7 years 4 months ago #1197 by ybc
ybc replied the topic: Re: Different Styles to different pages
i give it a try ill get back to you and show you wat i have done thnx ur a legend budddyyyyy

Please Log in to join the conversation.

Time to create page: 0.117 seconds

Links, Partners and Social Media