1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Logo problem

Discussion in 'Styling and Customization Questions' started by Carmine, Mar 15, 2016.

  1. Carmine

    Carmine New Member

    Hello.
    I wanted to know how I can customize the width height and so my logo. I currently use this code (in extra.css)

    #logo img {
    width: 500px !important;
    margin: 16px 0 0 -36px !important;
    max-width: 100% !important;
    }

    I want to put the height of the child logo but height does not work.

    Greetings
     
  2. ARad

    ARad Member

    Are you sure that this doesn't work?

    #logo img {
    width: 500px !important;
    height: <YOUR_HEIGHT_HERE> !important;
    margin: 16px 0 0 -36px !important;
    max-width: 100% !important;
    }
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    I didn't know you could have a defined with (500px) and a max-width (100%). Does the max-width override the earlier width?
     

Share This Page