Forum Replies Created
-
AuthorPosts
-
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.
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.pngI have no idea how to accomplish this and everything I have tried has not worked.
Thanks for your help.
Todd
Anyone can help me with this. I have a new client that want to banner advertise at the top. See above.
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
- This reply was modified 8 years, 10 months ago by creatingartsco.
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.
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…. -
AuthorPosts