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

Using Images for Sidebar Titles

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-10-2010, 02:27 PM
 
hharadon hharadon is offline
 

Member
  
Join Date: Mar 2010
Posts: 16
 

Default Using Images for Sidebar Titles

We would like to put custom images in place of the titles in the sidebar (Categories, Designers, Shopping Cart, Specials). We use X-Cart version 4.3.1

Here is the site here:
http://www.deviantscrap.com


Would like it to be custom images like this site here:
http://www.shabbypickledesigns.com/boutique/home.php


Thanks for any help!
__________________
X-CART Version 4.3.1
---------------------------
AlteredCart Download Expander
FireTank Newest Added Products
Reply With Quote
  #2  
Old 04-10-2010, 06:00 PM
 
akhilp akhilp is offline
 

Newbie
  
Join Date: Mar 2010
Posts: 4
 

Default Re: Using Images for Sidebar Titles

I may be wrong (I am also very new to customization) but download FireFox, then download Firebug (for Firefox).

Then hopefully you know CSS? If so you can use the Select tool in Firebug, click on the Categories and try to understand how the images for that side bar item is created.

To create the white space show in that link (shabby) you can try transprencies or just create the image/modify the image to match what you want.

PS the deviant link does not show the image...so once again look at the CSS on how the background image is created behind the word "Categories" mind u the image must be cut/split into sections to allow it to repeat in the X axis.

Or the code needs to be modified to have 1 image as the background for these sidebars...which will require chaning the PHP code?

Otherwise if you can split the image into 2 or 3 parts like how the existing CSS code is then u can simply replace the names of the images with your images and u will be done.

You will need to modify the main.css file.

Hope this helps.

Thanks,

Akhil P.
__________________
X-Cart 4.3.1
Reply With Quote
  #3  
Old 04-11-2010, 11:36 AM
 
hharadon hharadon is offline
 

Member
  
Join Date: Mar 2010
Posts: 16
 

Default Re: Using Images for Sidebar Titles

Yes there currently aren't any images at the Deviant link. That is what I am trying to do, put images in place of the text there like there is at the other links I provided.

I do have Firebug and have been trying to figure it out. Thanks for the input though. I appreciate the help.
__________________
X-CART Version 4.3.1
---------------------------
AlteredCart Download Expander
FireTank Newest Added Products
Reply With Quote
  #4  
Old 04-11-2010, 12:55 PM
 
Shamun Shamun is offline
 

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

Default Re: Using Images for Sidebar Titles

The titles (in 4.2 atleast) are captured in the template files. For example:

Quote:
{include file="customer/menu_dialog.tpl" title=$lng.lbl_authentication content=$smarty.capture.menu additional_class="menu-auth"}

The bolded text is the sidebox titles. That points to a language definition which can be found in the admin area.


Each sidebox has its own .tpl file. These are located in /skin1/customer/
The sidebar calls each template in /skin1/customer/home.tpl
__________________
- Shane Munroe
Reply With Quote
  #5  
Old 04-11-2010, 07:07 PM
 
hharadon hharadon is offline
 

Member
  
Join Date: Mar 2010
Posts: 16
 

Default Re: Using Images for Sidebar Titles

Thanks a lot Tal! Will go play with it.
__________________
X-CART Version 4.3.1
---------------------------
AlteredCart Download Expander
FireTank Newest Added Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:26 PM.

   

 
X-Cart forums © 2001-2020