View Single Post
  #3  
Old 03-16-2011, 12:27 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: centering company_logo.gif

Here is class .logo from the original skin

Code:
#header .line1 .logo { position: absolute; left: 20px; top: 31px; height: 50px; width: 228px; margin: 0; padding: 0; }

Code:
#header .line1 .logo a:link, #header .line1 .logo a:visited, #header .line1 .logo a:hover, #header .line1 .logo a:active { display: block; width: 228px; height: 50px; background: transparent url(../images/fashion_mosaic/company_logo.gif) no-repeat left top; }

Code:
#header .line1 .logo img { display: none; }
(this one hides the xcart.gif)

Looking over your css, you did a lot of changes not ok. Try undo all your changes, you can replace with the original CSS file.

1) Upload the image file you modified in (../images/fashion_mosaic/company_logo.gif).

2) Change left: 20px; top: 31px; height: 50px; width: 228px; to the fist class in this post.

3) Change height and width to the class with anchors, the second class in this post.

Before editing the css file, steps 2 - 3 are OK to be done in Firebug (Firefox) or Dragonfly (Opera).
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote