Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #198256

    Hi – I found a previous post to make my main menu transparent using the following:

    .header_bg {
        background: rgba(255, 255, 255, 0.6) !important;
    }
    #main {
        padding-top: 0 !important;
    }

    My issue is now the slider isn’t totally full-screen. It looks like changing the top padding to 0 has slid the content that is under the full-screen slider up and now it is always visible. Is there a way to fix?

    The site under development is at http://sundialdev.com/ocgirlslax/

    #198273

    Hey!

    It appears to fill the whole screen in my end, can you post a screenshot of your view?

    Best regards,
    Josue

    #198278
    #198408

    Hi!

    Please add this on your custom.css or Quick CSS:

    #main {
    margin-top: -1px;
    }

    Adjust the negative top margin if necessary.

    Best regards,
    Ismael

    #198411

    Hi Ismael – when I add that it fixes the bottom of the site, but the image no longer displays under the menu.
    I tried it with both removing the current ‘#main {padding-top: 0 !important;}’ and leaving it in with no luck.

    #198584

    Hey!

    What browser is this with? On my end there is no longer any top border/margin/padding like in your screenshot. So it appears correct with the 1px negative margin from Ismael’s css.

    Cheers!
    Devin

    #198589

    I Devin,

    My goal is to have a semi-transparent menu sitting on top of the full-screen image. With Ismael’s solution the menu is not on top of the image. With Josue’s solution it it on top of the image, but the image does not go fully to the bottom of the screen due to the padding-top being 0px.

    I’ve set it back to Josue’s solution so you can see the issue I’m having at the bottom.

    #198844

    Hi!

    Please remove Josue’s code then use this instead to move the main container:

    #main {
    top: -88px;
    position: relative;
    }

    Regards,
    Ismael

    #199030

    Hi Ismael – thanks for the help. Unfortunately I’m still experiencing the same thing, and the image is not going all the way to the bottom of the page. It looks to me like we are going to have to add 88px to the full-screen slider somewhere, but nothing I have tried has worked.

    Thanks!
    John

    #199186

    I see what you mean now. You would need to remove the header from being calculated into the height of the fullscreen slideshow. You can do so in js>shortcode.js. Look for:

    	$.AviaFullscreenSlider.defaults  = {
    
    		//height of the slider in percent
    		height: 100,
    		
    		//subtract elements from the height
    		subtract: '#wpadminbar, #header, #main>.title_container'
    		
    		
    	};
    #199196

    Thanks Devin! That’s exactly what I was looking for, just didn’t know where to look.

    If others need to know how to accomplish this, I removed:

    #header 
    from the //subtract elements from the height

    I appreciate the help!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Transparent Main Menu with Full Screen Slider’ is closed to new replies.