![]() |
Moving Category title and descriptions (H1 tag)
I just moved my Category Description from the top of the page to the bottom. But by moving this:
Code:
<h1 class="orange_title">{$current_category.category}</h1> To the bottom, I now have my H1 tag at the bottom of the page. Not good! My category titles are listed twice on the page right now, one at the top and one at the bottom. I want to simply take the h1 tag and put it around the category title that is at the top of my page (near the sort by options). I can't seem to find where it is located. I drew a diagram of what my category page looks like now. Where it says "Regular category title" that is where I want to move the h1 tags. The h1 tag category title and the category description used to be above where it says "regular category title" http://img809.imageshack.us/img809/6287/19536978.jpg |
Re: Moving Category title and descriptions (H1 tag)
The sort-by line is located in customer/search_sort_by.tpl
|
Re: Moving Category title and descriptions (H1 tag)
Not really looking for that file. I'm looking for the file that displays the category pages and the Category Titles.
|
Re: Moving Category title and descriptions (H1 tag)
That would be skin1/customer/main/subcategories.tpl
|
Re: Moving Category title and descriptions (H1 tag)
What is controlling that category title is the dialog.tpl. You can't just make the title of the dialog.tpl an h1, as that will result in multiple h1s per page on some pages. What I usually do is create a dialog-h1.tpl and call that for the pages I'd like to have an h1 on (category, product, static page, etc). Hope this helps!
|
All times are GMT -8. The time now is 12:44 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.