- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Below the slidehshow there is three blue rectangular tabs. This theme has a dynamic breakpoint that is constantly flexing.
It looks good when it’s full width but when you squeeze browser they break.
I tried this on a media query
.ulink { width: 33.15% !important; }
This seems to work alright :
.ulink {
white-space: nowrap;
}
I tried to add white-space: nowrap; to the ulink class and no change. Any ideas?
Looks changed to me, the text is not wrapping anymore. I guess you were referring to something else.
something else
That would be the margin-right: 3px
on .ulink
which is breaking things. The text wrap didn’t look right on smaller screens.
Here’s the css rule you might be looking for
.ulink {
border-right: 3px solid #fff;
display: block;
float: left;
height: 40px;
text-align: center;
width: 33.333%;
}
.ulink:last-child {
border-right: 0;
}
Thanks.
Got it! I also needed display: block