| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Logo resize and 2 columns template | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
i'm using 2 columns templates and i would want to resize the logo so i have modified #header .line1 .logo a img { width: 400px; height: 80px; in main.css but nothing has happened. What's wrong? I'm using Firefox. Thank you
__________________
Buddy X-Cart DB Version: 4.4.2 GOLD |
|||||||
#2
|
|||||||||
|
|||||||||
![]() There's probably another CSS statement controlling the logo size. I noticed that with Fashion Mosaic template.
It sounds like you might not be using Firebug. If you plan on doing more CSS play, u really need Firebug. Hopefully you've figured it out by now ![]()
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi,
thanks for your reply. I'm not using Fashion Mosaic template, but 2-columns. I have installed Firebug but i can't modify logo and h1 tags. ![]() I'm becaming crazy! Thanks again
__________________
Buddy X-Cart DB Version: 4.4.2 GOLD |
|||||||
#4
|
|||||||
|
|||||||
![]() If it's any consolation, give Firebug a chance... I'm using the same 2 column template as well. The more I play with it (Firebug), the more I'm finding it valuable. You can change things on the fly just to see changes in your cart without disrupting your source code. It's really a cool tool.
__________________
X-Cart version 4.4.2 <- preparing to launch Mod: BCS Eng. Advanced Filter |
|||||||
#5
|
|||||||
|
|||||||
![]() Hello,
i'm trying tu use Firebug...it's really an useful tool!!! I'm starting to find css elements i'm interested ![]() Thanks to everyone!
__________________
Buddy X-Cart DB Version: 4.4.2 GOLD |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
If you still need a hand, let us know exactly what steps you are taking and where you get stuck. [quote=buddy]I'm becaming crazy![/quote Hahaha yeah I know what you mean ![]()
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#7
|
|||||||
|
|||||||
![]() Alright, but sumbody needs to put some bubblegum on this thing and make it sticky.
First off, figure the difference in pixel size between your logo and the default xcart logo. Default xcart logo (xlogo.gif) = 203 x 48. I use one that measures: 456 x 104. My differences are 253 and 56. Open the altskin.css and find the #Header section. Sit back, relax, you gonna be a while. Here's what I changed and the new dimensions, with default dimensions shown as comments (eg //Default 74px). I didn't have to strictly adhere to adding ALL of my extra pixels, due to a bit of wiggle-room that exists with the original settings. You're gonna have to figure out just what needs to be added, then add some more, take out a bit, tweak it a little, change it some more, etc. This will just point you in the right direction. The next two days of tweaking is up to you! ![]() Code:
Next, you need to change the center section setting for margin-top otherwise your logo may overlap that section, referred to in the templates as content-container (it's above the Header section): Code:
Okay, all done. No.. sorry, just futzing with ya. You just changed the main page settings; you now have to deal with the other things that produce their own "main pages". Fun, ain't it?! The Printable pages have their own Header settings. . Code:
Now head out to the skin\common_files\css folder and open the main.css file. Code:
Okay, now you're done. Seriously. Unless I missed something, which is quite possible. The modules and maybe even some of the non-typical pages might just have a Gotcha waiting to happen. But with Firebug, and what you've learned tweaking all the above stuff, it'll all work out okay. And ya gotta admit, this is all waaaaaaay more fun than just changing one image and one template like in the previous versions. Right? ![]()
__________________
Ralph X-Cart v4.4.2 Gold (still buggy, some are new ones) PHP 5.2.13 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|