Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Moving Category title and descriptions (H1 tag)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2010, 07:09 PM
 
gatordp gatordp is offline
 

Advanced Member
  
Join Date: Aug 2009
Posts: 72
 

Default 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> {if $current_category.description ne ""} {$current_category.description} {/if}

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
__________________
X-Cart Gold 4.5.4
Reply With Quote
  #2  
Old 08-07-2010, 10:27 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Moving Category title and descriptions (H1 tag)

The sort-by line is located in customer/search_sort_by.tpl
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 08-07-2010, 07:01 PM
 
gatordp gatordp is offline
 

Advanced Member
  
Join Date: Aug 2009
Posts: 72
 

Default 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.
__________________
X-Cart Gold 4.5.4
Reply With Quote
  #4  
Old 08-07-2010, 10:25 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Moving Category title and descriptions (H1 tag)

That would be skin1/customer/main/subcategories.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 08-08-2010, 05:07 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:42 AM.

   

 
X-Cart forums © 2001-2020