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

Logo pain! Ideal responsive template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-16-2014, 05:50 PM
 
Creative3000 Creative3000 is offline
 

Newbie
  
Join Date: Aug 2013
Posts: 8
 

Default Logo pain! Ideal responsive template

Hi All,

I have a larger height logo, I followed the help instructions to change the CSS logo width and height but it is not appearing correctly, where else I need to modify files to fix this problem?

dynamicvac.com/dev

Thank you!
__________________
X-Cart GOLD Plus 4.6
Reply With Quote
  #2  
Old 02-17-2014, 01:33 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Logo pain! Ideal responsive template

Hello!

1. First of all, increase the height of the header area to fit your logo there: find the CSS file that holds styles for "#header .line1" element and change "height: 80px" to "height: 98px" in these styles.

2. Now re-size the logo placeholder to match the width and the height of your logo. Find the CSS file that adds styles for "#header .line1 .logo a img" element and change the width from 179px to 250px, and the height from 70px to 98px:
Code:
#header .line1 .logo a img { background: transparent url(../../skin/ideal_responsive/css/../images/main_sprites_lg.png) no-repeat left top; width: 250px; height: 98px; }

3. Finally, remove the white spacing above the logo to fit it into the header section. Edit the CSS file that defines styles for "#header .line1 .logo" element and change "padding-top: 16px;" to "padding-top: 0px;".

You can tweak these styles further to add necessary spacing around the logo (if needed).

Does this help?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-17-2014, 08:19 AM
 
Creative3000 Creative3000 is offline
 

Newbie
  
Join Date: Aug 2013
Posts: 8
 

Default Re: Logo pain! Ideal responsive template

Awesome, thank you very much! That worked perfectly

Now I have an issue with the gift certificate image, looks like the main_sprites_lg.png is holding the logo and gift certificate both in one image, I overwrote the png file with the logo only, would be it be safe to change the file name in the allskin.css file for all gif certificate instances?

Thanks again!
__________________
X-Cart GOLD Plus 4.6
Reply With Quote
  #4  
Old 02-17-2014, 11:15 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Logo pain! Ideal responsive template

I guess "main_sprites_lg.png" holds many other images and the gift certificate is not the only missing image on your site now.

Try to restore the original "main_sprites_lg.png" image back, upload you logo as a separate file and change the path to the logo in the "background" style for the "#header .line1 .logo a img" element (see my previous message).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 10-04-2014, 03:04 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: Logo pain! Ideal responsive template

Has that technique changed for 4.6.4 version?
Reply With Quote
  #6  
Old 10-05-2014, 07:04 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Logo pain! Ideal responsive template

Quote:
Originally Posted by vasilis
Has that technique changed for 4.6.4 version?
Yes. As of at least 4.6.3 the logo sprite image was changed. It was too difficult for beginners to change the logo. A bad decision on my part to use the sprite sheet originally.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
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 05:16 AM.

   

 
X-Cart forums © 2001-2020