Jump to content

Front-End Logo Size


Recommended Posts

Hi All!,

I trust all is well.

I am currently reaching out to the community to see if someone could possibly help me with the logo size on the front-end. Would love to have the size adjusted for a better view for my visitors.

Please see the screenshot: https://rebrand.ly/2iur2b

Thanks in advance!

Link to comment
Share on other sites

Hi Tajaun,

14 hours ago, Tajaun Ten-Fah said:

I am currently reaching out to the community to see if someone could possibly help me with the logo size on the front-end. Would love to have the size adjusted for a better view for my visitors.

your problem is that the maximum height of that logo image is defined in the CSS - so although your image is really 889x557, it's height is set at a maximum of 50px by the CSS.

the solution is to modify the CSS and adjust the maximum height of the image - to do this, you edit /templates/six/css/custom.css and add...

section#header .logo img {
    max-height: 150px;
}

if you set it at 150px, you'll end up with your site looking like...

vSiCTps.png

... so you may need to play with various max-height values and/or tweak the logo before you find the correct value to suit your logo design.

also, keep a backup copy of custom.css because it will get overwritten during a WHMCS update - if you're using the automatic updater, you should get a warning before it overwrites it, but better safe than sorry. 🙂

Link to comment
Share on other sites

On 5/20/2019 at 7:01 AM, brian! said:

Hi Tajaun,

your problem is that the maximum height of that logo image is defined in the CSS - so although your image is really 889x557, it's height is set at a maximum of 50px by the CSS.

the solution is to modify the CSS and adjust the maximum height of the image - to do this, you edit /templates/six/css/custom.css and add...


section#header .logo img {
    max-height: 150px;
}

if you set it at 150px, you'll end up with your site looking like...

vSiCTps.png

... so you may need to play with various max-height values and/or tweak the logo before you find the correct value to suit your logo design.

also, keep a backup copy of custom.css because it will get overwritten during a WHMCS update - if you're using the automatic updater, you should get a warning before it overwrites it, but better safe than sorry. 🙂

Hey Brian,

I love the reply and effort thus far. 

I applied the code as seen here https://rebrand.ly/5nemcy 

Unfortunately, didn't see the changes. See Here

Link to comment
Share on other sites

4 hours ago, Tajaun Ten-Fah said:

I applied the code as seen here https://rebrand.ly/5nemcy 

did you remove the code ? because when I look at your active custom.css file @ https://xclusivetechja.com/order/templates/six/css/custom.css it's empty!

if it worked, you're site should look like...

aeJrGp8.png

so, three further suggestions for you to try...

  1. ensure that you're putting the css code in the correct file..
  2. ensure that your site/browser isn't caching as you may not see any changes.
  3. if it still doesn't work, slap an !important in the css to give it a little more persuasion to behave.
    section#header .logo img {
        max-height: 130px !important;
    }
Link to comment
Share on other sites

2 hours ago, brian! said:

did you remove the code ? because when I look at your active custom.css file @ https://xclusivetechja.com/order/templates/six/css/custom.css it's empty!

if it worked, you're site should look like...

aeJrGp8.png

so, three further suggestions for you to try...

  1. ensure that you're putting the css code in the correct file..
  2. ensure that your site/browser isn't caching as you may not see any changes.
  3. if it still doesn't work, slap an !important in the css to give it a little more persuasion to behave.
    
    section#header .logo img {
        max-height: 130px !important;
    }

Hi Brian!

Thank you! It works now! Its weird because I know I reset the cache before but after trying again now I saw the changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated