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
Code: Select all
#logo img {
height: 100px;
width: 100px;
}
[module] PayPal Pro w/Recurring Profiles FREE
[module] 1 Click "Amazon Style" Checkout w/PayPal Pro FREE
[module] Adjustable PayPal Pro Fee FREE
[module] Add Sample To Cart LITE FREE
The guide to fixing just about everything wrong with OpenCart FREE!
Add INFINITE SCROLL to your homepage for FREE!
Live update product price for FREE!
Dynamic generation of Opencart coupon, FREE!
Hire me
Thanks for that but I am looking for a way to set a % so its the same for any type of device...tacobandito wrote:The CSS class has changed for the default theme in 2.0...
The above would be the way to set a static size for the logo in OpenCart 2.0's default theme.Code: Select all
#logo img { height: 100px; width: 100px; }
#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
The new CSS class(es) is what you need to make this adjustment, once you have that you can add any code you'd like.
Code: Select all
#logo {
/* CSS CODE HERE */
}
#logo img {
/* CSS CODE HERE */
}
[module] PayPal Pro w/Recurring Profiles FREE
[module] 1 Click "Amazon Style" Checkout w/PayPal Pro FREE
[module] Adjustable PayPal Pro Fee FREE
[module] Add Sample To Cart LITE FREE
The guide to fixing just about everything wrong with OpenCart FREE!
Add INFINITE SCROLL to your homepage for FREE!
Live update product price for FREE!
Dynamic generation of Opencart coupon, FREE!
Hire me
Users browsing this forum: No registered users and 135 guests