Hero Div for slider logo's too small

This topic contains 7 replies, has 2 voices, and was last updated by  brokenbox 1 week, 2 days ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #15056

    brokenbox
    Participant

    HI,

    How do I change the hero image tag size for the sliders, they dont want to get any bigger and if I try add the logos without the div it just stretches it?

    https://brokenbox.co.za/clients/lindy/

    • This topic was modified 1 week, 3 days ago by  CTHthemes.
    #15064

    CTHthemes
    Keymaster

    You can use this custom style.

    
    .section-entry .hero-logo {
         max-width: 500px;
    }
    

    add it to Diopter Options -> Custom Code tab -> CSS Code – Large Desktop View.

    #15067

    brokenbox
    Participant

    Hi, thank you for the feedback, I’ve done that, but still no change in the size of the logo 🙁

    #15068

    CTHthemes
    Keymaster

    Did you mean this logo: http://prntscr.com/g6r9zh ?

    I can’t see the modified code from front-end.

    #15070

    brokenbox
    Participant

    Hi yes, thats the one Im referring to. On all slides they seem limited. The “square” versions are fine as seen on the 2nd and 4th slide, but the wider slides are too small and when stripping the code to make them bigger myself, they end up being stretched width wise and ignore the height…

    Really just want to be able to set the logo to any specific size I want, making sure its still responsive, without it distorting.

    thank you 🙂

    #15072

    brokenbox
    Participant
    This reply has been marked as private.
    #15076

    CTHthemes
    Keymaster

    Use this style instead

    
    .section-entry .hero-logo {
         max-width: 700px;
         text-align: center
    }
    .owl-carousel .owl-item .hero-logo img {
         width: auto;
         max-width: 100%;
         height: auto;
         margin: 0 auto;
    }
    
    #15078

    brokenbox
    Participant

    That is perfect!! Thank you very much!! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.