lunken Posted March 15, 2011 Share Posted March 15, 2011 Hi all!How do I change category_title to H1 for SEO-reasons?I found this code in global.css category.tpl */ h2.category_title { color:#E87B14; font-size:1.6em; font-weight:normal; Can someone please help me with the right/new code.RegardsThomas Link to comment Share on other sites More sharing options...
shokinro Posted March 15, 2011 Share Posted March 15, 2011 please do as following1. Go to change the theme file of category at /themes/yourtheme/category.tplFind following code, change H2 to H1 <h2 class="category_title">{strip} {$category->name|escape:'htmlall':'UTF-8'} <span> {if $nb_products == 0}{l s='There are no products.'} {else} {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} {$nb_products} {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if} {/if} </span>{/strip} </h2> 2. go theme css file add H1 style that similar with H2 style which you have found at your previous posthope this help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now