Tagged: ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #580574

    Ok I figured out how to add margin to the top of the page, issue now is that the overflow when you scroll is not hidden. I have tried using overflow: hidden; and its not working any suggestions. I want to use the background for advertising but the page is scrolling out the top of the #wrap_all) container. Any suggestions.

    Been using this:
    .boxed#top {
    margin: 40px auto;
    overflow: hidden; <—- this is not working
    }

    Thanks in advance for your help. Buying the person that figures this out a 6 pack of beer.
    Todd

    #580600

    Hi creatingartsco!

    .boxed#top {
    margin: 40px auto;
    overflow: hidden !important
    z-index: 999;
    position: relative;
    }

    Please try it like that, let me know if it works

    Cheers!
    Basilis

    #580670

    Ok I think I am confusing myself. I just used this:

    .boxed #wrap_all {
    overflow: hidden !important;
    }
    #wrap_all {
    margin-top: 40px;
    overflow: hidden !important;
    position: relative;
    width: 100%;
    z-index: 999;
    }
    This was able to achieve the margin at the top. But still its not hidden when scrolling.

    The URL is http://www.cacstudios.com, I left the changed code it so you can see whats going on.

    Thanks I owe you one.

    NOT:
    #top.boxed {
    margin-top: 40px auto;
    overflow: hidden
    }
    Which did nothing….

    #581279

    I have also been tweaking in Fire Bug as well and no matter what I change its not working. CSS is not my strong suit. Thanks again for the help.

    #581301

    Hey!

    Please try adding following code to Quick CSS

    #header {
        top: 0;
    }
    #header.av_header_transparency {
        top: auto;
    }

    Best regards,
    Yigit

    #581308

    Yigit, thanks for the help but that did not work. What I am trying to achieve is a 60px margin at the top (so I can have ads above) Just like this: http://www.imdb.com/. But what happens when I add margin like this..

    .boxed #wrap_all {
    overflow: hidden !important;
    }
    #wrap_all {
    margin-top: 60px;
    overflow: hidden !important;
    position: relative;
    width: 100%;
    z-index: 999;
    }
    I get the margin but the overflow still does not hide and the page scrolls through the margin area.. Not sure what I am missing.
    And when in responsive I want the margin to go away…

    Still have that 6 pack of beer on the table….LOL

    #581854

    Anyone can help me with this. I have a new client that want to banner advertise at the top. See above.

    #582842

    Hi!

    I checked the imdb site but I don’t see any ads on top of the page. Could you please provide a screenshot of the layout? Use imgur or dropbox.

    Best regards,
    Ismael

    #583040

    Ismael,

    Thanks so much for your help. I am not actually putting in a banner ad I want to use the background as advertising.

    So what I need to do is add a 60px margin at the top top expose the background when I have tried doing it the content scrolls through the margin area when scroll down the page. IMBD has margin at the top to expose the background.

    Here are links to the images Margin1 image shows where the margin exposes the background, margin2 image shows that the background when scrolling is not hidden it scrolls through the margin area. Note these are photoshop image to show you an example of issues I had while trying to figure this out.

    http://www.cacstudios.com/wp-content/uploads/2016/02/margin1.png
    http://www.cacstudios.com/wp-content/uploads/2016/02/margin2.png

    I have no idea how to accomplish this and everything I have tried has not worked.

    Thanks for your help.

    Todd

    #583392

    Hey Todd!

    Can you please check if that workaround works for you – https://kriesi.at/support/topic/boxed-layout-and-margin-on-top/#post-582571?

    Cheers!
    Yigit

    #583739

    Yigit,

    That did not work either, is there a way to accomplish this with CSS, when I put the code in it messed with with the navigation.

    Its weird you would think its a matter of just adding the margin and hiding the overflow but nothing I have tried has worked.

    Thanks again for all your help.

    #583969

    Hi!

    This is not going to work with a sticky header because the header position is relative to the browser window instead of the wrap_all or body container. You will have to create a custom jQuery script for it or just disable the sticky header.

    Regards,
    Ismael

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