Post by Glopear » Wed Oct 21, 2015 4:28 pm

Hi

Been searching extensively here and on the web and can't find any solutions to my problem.

I simply want to make my logo bigger, both longer and wider. I'm using a template but the code doesn't seem to be different than in the default. If I simply make the image bigger it is resized and squashed to fit that deafult size (the Optima logo is the template default.)

Here is my site: www.lazyfruit.com

Would much appreciate some help with this, its driving my crazy.

New member

Posts

Joined
Thu Oct 01, 2015 10:39 pm

Post by uksitebuilder » Wed Oct 21, 2015 6:33 pm

It is sized automatically by the column width.

In your header template file you will have something like

Code: Select all

<header>
<div class="header">
<div class="container">
<div class="header-inner">
<div class="row">
<div class="col-md-2 col-sm-12 col-sms-12">
<div id="logo">
<a href="http://lazyfruit.com/index.php?route=common/home">
<img alt="Lazyfruit" title="Lazyfruit" src="http://lazyfruit.com/image/catalog/logo.png">
</a>
</div>
</div>
<div class="col-md-10 col-sm-12 col-sms-12">
The column holding your logo is set 2 column width - everything to the right of your logo is set at 10 column width

The column widths must add up to 12

So, you can change col-md-2 for your logo column to col-md-4
You must also then change further down the right column width from col-md-10 to col-md-8

4+8 = 12

or you could do 3 and 9

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Glopear » Wed Oct 21, 2015 10:07 pm

Thanks so much, explained perfectly!!

I knew it would be something simple but if you don't know exactly where to look, it ain't simple.

Surely this is a common desire and should be possible within admin?

Anyway it works and you've allowed me to destress ... a little at least!

New member

Posts

Joined
Thu Oct 01, 2015 10:39 pm

Post by viethemes » Wed Oct 21, 2015 10:16 pm

Or you may install my free extension Custom CSS and add code below

Code: Select all

@media (min-width: 992px) {
	.header-inner .col-md-2 {
		width: 33.33333333333333%;
	}

	.header-inner .col-md-10 {
		width: 66.66666666666666%;
	}
}
The change will be not lost when you upgrade the theme.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by cyberninja » Thu Dec 10, 2015 9:13 pm

Hi Viethemes,

With your custom CSS extension, I tried following but it isn't taking into effect. Any idea why>

Code: Select all

@media (min-width: 768px)
.col-sm-4 {
    width: 20.33333333%;
}
@media (min-width: 768px)
.col-sm-5 {
    width: 54.66666667%;
}

Newbie

Posts

Joined
Thu Dec 10, 2015 9:11 pm

Post by viethemes » Fri Dec 11, 2015 10:07 pm

Could you provide your site URL, so I can take a look at it closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by SpIkE25 » Mon Oct 07, 2019 9:26 pm

hi guys this is exactly what i want to do is it done through the theme editor in control panel or the raw files on server

please help

my site www.rk-catapults.co.uk

many thanks
rob

Newbie

Posts

Joined
Fri Jan 04, 2019 8:28 pm
Who is online

Users browsing this forum: No registered users and 9 guests