Hi,
I would like to achieve the same effects similar to the Template Monster MMA store "Featured Products" heading.
http://www.templatemonster.com/demo/41339.html
How do I go by doing this in Open Cart?
Thank you
I would like to achieve the same effects similar to the Template Monster MMA store "Featured Products" heading.
http://www.templatemonster.com/demo/41339.html
How do I go by doing this in Open Cart?
Thank you
Last edited by dieselflip on Wed May 22, 2013 10:28 am, edited 1 time in total.
To do this head to your language file for featured products
catalog/language/*/module/featured.php
Change:
To:
Then add a rule like the following to your stylesheet.css
jgsw
catalog/language/*/module/featured.php
Change:
Code: Select all
$_['heading_title'] = 'Featured';
Code: Select all
$_['heading_title'] = '<span>Featured</span> Products';
Code: Select all
.box-heading span {
color: red;
}
Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)
jgsw wrote:To do this head to your language file for featured products
catalog/language/*/module/featured.php
Change:
To:Code: Select all
$_['heading_title'] = 'Featured';
Then add a rule like the following to your stylesheet.cssCode: Select all
$_['heading_title'] = '<span>Featured</span> Products';
jgswCode: Select all
.box-heading span { color: red; }
Hi Thank you for the reply.
I tried your suggestion but instead of getting the two color effect. I'm getting only all text in "yellow" color. Since I'm using yellow as a highlight color. I also updated the "Featured.php" file in the folder location that you specified.
I also tried using in the stylesheet.css but still showing 1 color (all yellow):
Code: Select all
.box .box-heading span {
color: #D3CC00;
}
maybe you could try this different approach
Change:
To:
Then add a rule like the following to your stylesheet.css
jgsw
Change:
Code: Select all
$_['heading_title'] = 'Featured';
Code: Select all
$_['heading_title'] = '<span class="alt-heading-color">Featured</span> Products';
Code: Select all
.alt-heading-color {
color: red;
}
Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)
Thank you!
Your first suggestion worked!
I went back to the "Featured.php" file and closed the </span> code. It is working now
Your first suggestion worked!
I went back to the "Featured.php" file and closed the </span> code. It is working now

No problem. If you change the title of the thread to [SOLVED] it might help other forum users with the same question.
jgsw
jgsw
Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)
I used the same approach to change the Featured title to
Thanks alot.
for new http://www.orderuganda.com opencart site.Click on any denomination to get started.
Code: Select all
<modification>
<id>VQMOD CORE FOR OPENCART - DO NOT REMOVE</id>
<version>1.4.x and above</version>
<vqmver required="true">2.6.0</vqmver>
<author>vqmod.com</author>
<file name="catalog/language/en-gb/module/featured.php">
<operation info="replace Featured with given title on the index page" error="abort" >
<search position="replace" >
<![CDATA[
$_['heading_title'] = 'Featured';
]]>
</search>
<add>
<![CDATA[
$_['heading_title'] = 'Click on any denomination to get started.';
]]>
</add>
</operation>
</file>
</modification>
Who is online
Users browsing this forum: No registered users and 2 guests