Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #335122

    Hi there,

    i´ve tried to make the logo fullwidth to fit the border left to border left while keeping it responsive.
    my logo for now 1420*234px.

    as found in other topic i´ve added

    #top .logo, #top .logo a {
    display: block;
    height: 234px;
    width: 100%;
    position: absolute;
    } 

    to quick css

    any idea to realize that?

    thx and best regards.

    #335130

    Hi wienerpresswerk!

    Please add following code to Quick CSS

    div#header_main .container { margin: 0; padding: 0; max-width: 100%; }
    .logo img { width: 100%; }

    Cheers!
    Yigit

    #335590

    thx for your outstanding support!

    It works for desktop view but now i face some trouble below aprox. 767 px.

    I would never use a full frame logo but have to find the solution for the customer.

    it may be a solution to provide a different logo only for mobiles but no idea to implement that.

    thx for your advice!

    #335594

    Hi!

    Please add following code to Quick CSS as well and adjust as needed

    @media only screen and (max-width: 768px) {
    .logo img { opacity: 0; }
    .logo a { background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png); background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; }}

    Regards,
    Yigit

    #335701

    Thx Yigit,

    outstanding as ever ;-)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Logo full width’ is closed to new replies.