Post by ukracer » Tue Oct 14, 2014 11:57 pm

Hi

I seem to haver a bit of a problem altering the size of the replacement logo in version2.

I used this to get the code before. http://omframework.com/2013/03/22/chang ... -opencart/

Its seems not to work BUT I did not alter the "default" as I had a extra theme installed. This time I only have default installed and the logo remains the same no matter what I do.

this is the site I am using totest version 2.0 www.carterstackle.co.uk

Regards Andy T

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

User avatar
Active Member

Posts

Joined
Sat Mar 30, 2013 12:27 am
Location - Springfield, MA

Post by ukracer » Wed Oct 15, 2014 2:31 am

tacobandito wrote:The CSS class has changed for the default theme in 2.0...

Code: Select all

#logo img {
height: 100px;
width: 100px;
}
The above would be the way to set a static size for the logo in OpenCart 2.0's default theme.
Thanks for that but I am looking for a way to set a % so its the same for any type of device...

#header #logo img{
width: auto;
max-height: 80%;
height: 50%;
}

#header #logo {
height: 100%;
}


This was the old fix BUT does not work in 2.0

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

User avatar
Active Member

Posts

Joined
Sat Mar 30, 2013 12:27 am
Location - Springfield, MA

Post by ukracer » Wed Oct 15, 2014 3:02 am

[quote="tacobandito"]So then just use different code?

I guess that is easy if you know what code to use lol

Sadly I dont.!


Regards Andy T

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

Post by ukracer » Sat Oct 18, 2014 7:02 am

No one able to explain to me what to do to achieve the changes then??

Regards Andy T

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am
Who is online

Users browsing this forum: No registered users and 135 guests