Logo issue

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
kristen126
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jul 13, 2016 5:54 pm

Logo issue

Post by kristen126 » Wed Jul 13, 2016 5:59 pm

Hello, I am having issues with our new logo. I replaced the old one but the new one is showing up in the wrong place, on the right side and large. It should be a smaller size and in the top left corner of the header. Here is our website: http://fitnessequipmentprofessionals.com/

Please help!

User avatar
andypooz
Joomla! Guru
Joomla! Guru
Posts: 728
Joined: Sat Dec 30, 2006 3:03 pm
Location: London, UK
Contact:

Re: Logo issue

Post by andypooz » Thu Jul 14, 2016 11:44 pm

Well, you got in onto the left side, but you'll need to edit tour template's css to set the new height and top margin.

Go to your templates files theme355/css/virutemart.css and around line 92 you'll find

Code: Select all

h5#logo img {
display: block;
to that you want to add

Code: Select all

    height: 100px;
    width: 170px;
    margin-top: 32px;
You can tweak those numbers, but you should end up with something that looks right
Andy Hickey
Bespoke Joomla Extension Developer
http://www.netamity.com

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Logo issue

Post by sozzled » Fri Jul 15, 2016 12:23 am

andypooz's suggestion will probably work but I would not recommend changing the virtuemart.css file. In fact, you should never modify any original source files unless you are prepared to maintain the changes when you update that software. A better idea is to have a file of custom changes.

An easier solution might be to add the following CSS rule

Code: Select all

h5#logo a > img {
    height: auto;
    width: 50%;
}

User avatar
andypooz
Joomla! Guru
Joomla! Guru
Posts: 728
Joined: Sat Dec 30, 2006 3:03 pm
Location: London, UK
Contact:

Re: Logo issue

Post by andypooz » Fri Jul 15, 2016 12:39 am

The virtuemart.css file is in the template, not in the virtuemart component.
Andy Hickey
Bespoke Joomla Extension Developer
http://www.netamity.com


Locked

Return to “General Questions/New to Joomla! 2.5”