Store Community Support Documentation
DanShea

What file do I manually edit to change the logo size to the actual size of our logo? The current default size is too small.

Thanks in advance!

Dan

JohnJr
#1

Just go to Appearance - Theme (your current theme you are using)

CSS (scroll to the very bottom and hit carriage return)

Use the CSS below with your image exact size for height and width.  If you want to adding padding on the right side of the logo then redo the image and add it on the image itself...it's a lot easier that way.

.site-logo {

 min-width: 250px;
 }
 .site-logo .site-logo-link .site-logo-icon > i {
 height: 50px;
 }

 

 

Last update on November 2, 3:04 am by JohnJr.
DanShea
#2

Thanks John,

I followed your instructions, and it did change the logo size, but I also need it to change the block size. changing just the logo made it run over the block.

Dan

JohnJr
#3

What size did you make the image?  The reason I ask is that I found through much testing a few years ago that anything bigger than that starts messing with other divs.  Do you have experience with CSS?  You can use Firefox inspector and do some testing.

natalino castro
#4

hi john

im looking for the link in the logo, do you know where i can change it?

example

now yoursite.com

change to yoursite.com/follow

 

thx in advance

Last update on November 3, 10:52 pm by natalino castro.
JohnJr
#5

Natalino,

File: PF.Base/module/core/template/default/block/template-log.html.php

Line 15

Orginal

<a href="{url link=''}" class="site-logo-link">

Change to:

<a href="{url link='https://yoursite.com/follow'}" class="site-logo-link">

Now remember, this is a code change so any update or rebuild may overwrite this change so write it down to remember what you did.  Let me know if it works for mobile as I didn't check it out.

Have a great day!

natalino castro
#6

it work thank you :-)

spirog
#7

hi john

im looking for the link in the logo, do you know where i can change it?

example

now yoursite.com

change to yoursite.com/follow

 

thx in advance

 

Hi @Natalino,

just a quick question why you wanted to change the url of the logo?

is your site installed on: yoursite.com/follow

or @ yoursite.com

 

just wondering what your reasoning is for the change - just curious :) 

 

thanks in advance

Spiro

JohnJr
#8

I would like to know that as well :) but didn't ask.

Paris
#9

Be aware that sometimes when you hit Rebuild it an revert back to the old unchanged css.

I recommend duplicating it to NEW theme and hardcode edit the new theme and not rely on theme edit feature.

JohnJr
#10

Paris, I am not saying that is incorrect.  I do make a clone copy of the material theme and then add CSS changes to the CSS file through the CSS editor these days as I use to hard code everything and in the old days it would erase everything but I have not had any issues since they fix it a year or two back.  I have probably 30 CSS changes on one of my sites and the other at least 150 to 200 CSS changes.  In the old days, it would take me a week to update by hand as I would search for each spot and change it by hand.  So I am very thankful for this semi-new feature.  The key to your statement is that you must make a duplicate/clone which phpfox always recommended to me :)