Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Steps to add a new color style in Sj Template
(1 viewing) (1) Guest

TOPIC: Steps to add a new color style in Sj Template

Steps to add a new color style in Sj Template 11 years, 8 months ago #8647

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Example: you can create a new color style such as Black

*** For yt framework j25

a) go to "templates\yt_framework\templateDetails.xml", finding:

<field name="sitestyle" type="list" default="blue" label="SITE_STYLE_LABEL" description="SITE_STYLE_DESC">
	<option value="purple">Purple</option>
	<option value="blue">Blue</option>
	<option value="green">Green</option>
	<option value="red">Red</option>
</field>		


=>

<field name="sitestyle" type="list" default="blue" label="SITE_STYLE_LABEL" description="SITE_STYLE_DESC">
	<option value="purple">Purple</option>
	<option value="blue">Blue</option>
	<option value="green">Green</option>
	<option value="red">Red</option>
	<option value="black">Black</option>
</field>		


b) go to "templates\yt_framework\css\color\color.xml", finding:

<sitestyle>
	<blue>
		<filestyle>blue</filestyle>
	</blue>
	<red>
		<filestyle>red</filestyle>
	</red>
	<green>
		<filestyle>green</filestyle>
	</green>
	<purple>
		<filestyle>purple</filestyle>
	</purple>
</sitestyle>		


=>

<sitestyle>
	<blue>
		<filestyle>blue</filestyle>
	</blue>
	<red>
		<filestyle>red</filestyle>
	</red>
	<green>
		<filestyle>green</filestyle>
	</green>
	<purple>
		<filestyle>purple</filestyle>
	</purple>
	<black>
		<filestyle>black</filestyle>
	</black>
</sitestyle>	


c) go to "templates\yt_framework\css\color" folder, copy an existing color file and rename it to black.css

d) change the content of black.css file according to your mean

e) you can choose the color style in the cpanel on fronend or Style Settings in the template configuration.


*** For Sj Joomla3 template

a) go to "templates\sj_joomla3\templateDetails.xml", finding:

<field name="sitestyle" type="list" default="blue" label="SITE_STYLE_LABEL" description="SITE_STYLE_LABEL">
	<option value="blue">Blue</option>
	<option value="red">Red</option>
	<option value="green">Green</option>
	<option value="gray">Gray</option>
</field>		


=>

<field name="sitestyle" type="list" default="blue" label="SITE_STYLE_LABEL" description="SITE_STYLE_LABEL">
	<option value="blue">Blue</option>
	<option value="red">Red</option>
	<option value="green">Green</option>
	<option value="gray">Gray</option>
	<option value="black">Black</option>
</field>	


b) go to "templates\sj_joomla3\includes\cpanel.php", finding:

<div class="inner clearfix">
	<span title="Red" class="theme-color red<?php echo ($yt->getParam('sitestyle')=='red')?' active':'';?>">Red</span>
	<span title="Green" class="theme-color green<?php echo ($yt->getParam('sitestyle')=='green')?' active':'';?>">Green</span>
	<span title="Blue" class="theme-color blue<?php echo ($yt->getParam('sitestyle')=='blue')?' active':'';?>">Blue</span>
	<span title="Gray" class="theme-color gray<?php echo ($yt->getParam('sitestyle')=='gray')?' active':'';?>">Gray</span>	
</div>		


=>

 <div class="inner clearfix">
	<span title="Red" class="theme-color red<?php echo ($yt->getParam('sitestyle')=='red')?' active':'';?>">Red</span>
	<span title="Green" class="theme-color green<?php echo ($yt->getParam('sitestyle')=='green')?' active':'';?>">Green</span>
	<span title="Blue" class="theme-color blue<?php echo ($yt->getParam('sitestyle')=='blue')?' active':'';?>">Blue</span>
	<span title="Gray" class="theme-color gray<?php echo ($yt->getParam('sitestyle')=='gray')?' active':'';?>">Gray</span>
	<span title="Black" class="theme-color black<?php echo ($yt->getParam('sitestyle')=='black')?' active':'';?>">Black</span>	
</div>


c) go to "templates\sj_joomla3\includes\bottom.php", finding:

$('.theme-color.gray').click(function(){
	$($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active');
	createCookie(TMPL_NAME+'_'+'sitestyle', $(this).html().toLowerCase(), 365);
	templateSetting(array_gray);
	onCPApply();
});			


=>

$('.theme-color.gray').click(function(){
	$($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active');
	createCookie(TMPL_NAME+'_'+'sitestyle', $(this).html().toLowerCase(), 365);
	templateSetting(array_gray);
	onCPApply();
});	

$('.theme-color.black').click(function(){
	$($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active');
	createCookie(TMPL_NAME+'_'+'sitestyle', $(this).html().toLowerCase(), 365);
	templateSetting(array_gray);
	onCPApply();
});


d) go to "templates\sj_joomla3\css\color" folder, copy an existing color file and rename it to black.css

e) change the content of black.css according to your mean

f) you can choose the color style in the cpanel on fronend or Style Settings in the template configuration.
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 11 years, 8 months ago by loitt.
The topic has been locked.

Re: Steps to add a new color style in Sj Template 11 years, 7 months ago #8839

  • internetezo
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hi,
There is a sj news my scheme, which is with a blue colour currently,. I would like it onto an one with a purple colour the boxes to colour where blue, to this I carried it through what the colour modification wrote down according to the forum. The colour did not change unfortunately. What did I do badly?
Thank you
The topic has been locked.

Re: Steps to add a new color style in Sj Template 11 years, 7 months ago #8854

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear David Varga,

Could you please send your site url and the screenshots to us?

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: Steps to add a new color style in Sj Template 11 years, 7 months ago #8871

  • internetezo
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
www.femellecafe.hu site, thanks
The topic has been locked.

Re: Steps to add a new color style in Sj Template 11 years, 7 months ago #8891

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear David Varga,

Could you please send the screenshots describing the parts which you want to change the color on your site now?

Otherwise, please post your questions to the sj news template category on our forum again.

We will answer them as soon as possible.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 11 years, 7 months ago by loitt.
The topic has been locked.

Re: Steps to add a new color style in Sj Template 11 years, 7 months ago #8925

  • internetezo
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
welcome,
I want to modify the present blue colour of the menu bar which can be seen in the red framework on the enclosed picture, onto purple one.
thank you
The topic has been locked.
Time to create page: 0.38 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes