Jump to content

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!

Share this post


Link to post
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. 🙂

Share this post


Link to post
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

Share this post


Link to post
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;
    }

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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