Home Forums Pro Themes Education Hub Pro Set Maximum Height for featured slider

This topic contains 3 replies, has 2 voices, and was last updated by  wensolutions 2 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23663

    dnorth@derbyhigh
    Participant

    Hi,

    We are trying to set a maximum height for the featured slider, as it works well on mobile/tablet layouts but on the desktop it’s quite overbearing.

    What custom CSS can we add to achieve this?

    Thanks

    #23666

    wensolutions
    Keymaster

    @dnorth@derbyhigh, actually it would be helpful for us to provide the custom CSS if we be able to inspect your site against the current issue .

    If possible, please share us your site URL.

    #23667

    dnorth@derbyhigh
    Participant

    Hi,

    It is an internal site at the moment, so I can’t provide you access.

    I’ve worked out how to do it via editing style.css

    I’ve added the max-height to the section below.

    /*————————————————————–
    ## Custom Basic Slider Style By WEN Themes
    ————————————————————–*/

    #main-slider img{
    width:100%;
    max-height: 250px;
    }

    Is there a way that I can instead do this in the advanced settings>Custom CSS area, to ensure that the setting remains if the theme updates.

    #23759

    wensolutions
    Keymaster

    Well, yes the CSS written in setting > Custom CSS would remain safe even after theme updates.

    Alternatively, you can make a Child Theme and write your custom CSS to skip future overrides from theme updates.

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

You must be logged in to reply to this topic.