StyledThemes

How to disable banner in Lavish Pro

Home Forums WordPress Themes – Premium Lavish Pro How to disable banner in Lavish Pro

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40465
    weipeng liu
    Participant

    Hi, I’m wondering how to disable banner in Lavish Pro, couldn’t find the option in Theme Customization:

    <aside id=”la-banner” class=”lr_responsive_banner ” style=”background-color: rgb(234, 234, 234); color: rgb(255, 255, 255); min-height: 110px;”></aside>

    This banner is taking up a good 150px space in they layout and looks inelegant since it’s just a block of gray space:

    #la-banner {
    min-height: 150px !important;

    #40468
    Sushil Adhikari
    Moderator

    Dear weipeng liu,

    If you are hidding top bar from customizer than banner height is manipulated with 110px which is coming from customizer.php template. This is driven by jquery.
    YOu can see this code here on customizer.php template [ theme folder -> inc -> customizer.php]

    if (top_activated == 1) {
    				$('#la-banner').css({"min-height" : "110px"});
    			}

    Note: Please use child theme to customize the parent template, otherwise your changes will lost on theme update.

    Thanks

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