Little help with CSS

Posted in: Newspaper
Post count: 111

Hello guys,

I’m trying to add a sort of tagline underneath the menu on the homepage. I need some help to make it fit. I want it to be direcltly underneath the menu without any margin. I also want the sides to span all the way to the edge of the box without it affecting the other elements. As I can’t have it half finished in my homepage, I have made a temporary page to show you what I mean. You can find it here: https://www.tickettipper.nl/9931-2/

Post count: 20688

Hi,

So you want to add an underline below the main menu? What about the theme default underline effect, this should be removed?
https://www.screencast.com/t/XnR4B18YP

Post count: 111

Yes exactly. It can stay for now, maybe I’ll remove it later if I don’t like it.

Post count: 20688

Try with a simple border bottom, like this – https://www.screencast.com/t/qGIrQstG9Kvx
The border values in the code can be modified, the first value is the border height, the second is the type and the last one is the color.

.td-header-style-8 .td-header-menu-wrap {
border-bottom: 1px solid blue;
}

You can modify them as needed. If this is not what you wanted I will try other possible solutions, mention how exactly do you want it to look.

Post count: 111

Hi Simion,

Thanks for your reply. But no, it is not what I meant :). I meant the box that says “Een dagelijkse verzameling van de allerbeste vliegticketdeals”. I managed to get it to the top, but i also want the box to be as wide as the body.

Post count: 20688

You could do that in the page itself. The tagDiv composer or Visual composer (depending on which one you use) have options to set a border around elements
https://www.screencast.com/t/g0sXtYQJ8D
Also there are options to stretch the row to full width if needed
https://www.screencast.com/t/sww5whA7Y

So there would be no need to use CSS code to do something like that.

Post count: 111

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.