I am working on OpenCart Version 3.0.3.2 and am still on a localhost with XAMP.
My shop's logo is bigger than the search bar and I want to make it align. In ...\Webshop\catalog\view\theme\default\stylesheet\stylesheet.css I edited to:
Code: Select all
#logo {
margin: 0 0 10px 0;
height: 40px;
}
I also tried to change the twig file in ...\catalog\view\theme\default\template\common\header.twig. I found on the internet the resize filter but this filter returns unknown by opencart.
Code: Select all
<div id="logo">{% if logo %}<a href="{{ home }}"><img src="{{ logo|resize(300, 500) }}" title="{{ name }}" alt="{{ name }}" class="img-responsive" /></a>{% else %
}