Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #591820

    Hi!

    I have a little problem.
    I would like to change logo img height 100 to 150px. How can I do this? I tried with this code but not work.

    .logo img {
        height: 150px;
    }

    This is the code what I want to change..
    <div class="container av-logo-container"><div class="inner-container"><strong class="logo"><a href="http://annamaria-wieszt.de/"><img height="100" width="300" src="http://annamaria-wieszt.de/wp-content/uploads/small-logo-02.jpg" alt="Annamaria Wieszt - Makeup"></a></strong>

    Please, help me

    Best regards,
    Peter

    #592408

    Hi Peter,

    Your CSS is actually applying, you can verify that by inspecting the element in your browser. The values inside the image tag are hardcoded but don’t really apply to be honest.

    Regards,
    Rikard

    #593742

    Hi Rikard,

    Yes, I know, but when I turn on ModPageSpeed in the .htaccess, the ModPageSpeed change my image height to 100 px again.
    I thougt if i change image tag height to 150 px it will be perfect with ModPageSpeed.

    At the moment i turned on ModPageSpeed again, so You can see my logo problem.

    Thank you
    Rest regards,
    Peter

    #594123

    Hi,

    I still see it a 150px high on my end, not sure if you have your .htaccess mod turned off or not? I saw that the image seems to have whitespace both on top and bottom, not sure if that is what you are referring to maybe?

    Best regards,
    Rikard

    #597221

    Hi Rikard,

    Please reload the page or nav to another page from home page. Pagespeed is active. Thank you.

    Best Regards
    Peter

    #597540

    Hi Peter,

    Ok, I see your problem now but I’m not sure why it’s doing that. It looks ok on first load but navigating to a sub page distorts it, it like another image is being served, not sure why though?

    Regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.