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

2 items: Breadcrumb Logic, top div area for welcome

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-11-2005, 08:35 AM
 
harknell harknell is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 31
 

Default 2 items: Breadcrumb Logic, top div area for welcome

I have 2 issues that I'm working to resolve with our new store site:

1) I would like to have the breadcrumb removed from the home page (so it's not over the top of the welcome area), but have it show up on the other pages. I can guess that this would involve an if statement somewhere, but I'm honestly not knowledgable with this and don't know exactly how to write it or place it.

2) in a related way, the way our current site is set up the welcome area is the same background color as the rest of the site, so the text doesn't stand out well. I would like to have the top have a white background, but only that area and not the whole page. I changed the css file to give the background the color, but didn't see a specific welcome/head area that I could change the color. Maybe this would involve making a new div area as only the top? Is this something that the rectangle_top.tpl can be changed to?

I'm using the latest .17 version with all patches in place.
The dev site is: www.nerien.com
__________________
Webmaster of Onezumi.com
The Art. The Comic. The Insanity.
X-cart 4.1.11 Current Stable
Reply With Quote
  #2  
Old 12-11-2005, 08:53 AM
 
harknell harknell is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 31
 

Default updated somewhat

I looked a bit more, maybe my 2nd issue is actually in welcome.tpl. I don't know how but it would be nice to place the white around the text that shows in this.
__________________
Webmaster of Onezumi.com
The Art. The Comic. The Insanity.
X-cart 4.1.11 Current Stable
Reply With Quote
  #3  
Old 12-11-2005, 09:09 AM
 
harknell harknell is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 31
 

Default Okay, 2nd issue resolved

Duh, I was able to add a div around the text and assign it a css style background. So that's done. Now I just need the remove breadcrumb from main page thing done.
__________________
Webmaster of Onezumi.com
The Art. The Comic. The Insanity.
X-cart 4.1.11 Current Stable
Reply With Quote
  #4  
Old 12-11-2005, 09:53 AM
 
balinor balinor is offline
 

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

Default

Code:
{if $main eq "catalog" and $current_category.category eq ""}{else}{include file="location.tpl"}{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-11-2005, 12:43 PM
 
harknell harknell is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 31
 

Default perfect

That was absolutely perfect. Thank you very much for helping out.
__________________
Webmaster of Onezumi.com
The Art. The Comic. The Insanity.
X-cart 4.1.11 Current Stable
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 03:44 PM.

   

 
X-Cart forums © 2001-2020