CSS glitch
4 posters
Page 1 of 1
CSS glitch
I recently used the following code to fix some problem with rounded corners of the .div.body element
But unfortunately it created another small glitch.
Before:
After:
- Code:
span.corners-top {
display: none !important;
}
span.corners-bottom {
display: none !important;
}
But unfortunately it created another small glitch.
Before:
After:
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
Soulmonster wrote:I recently used the following code to fix some problem with rounded corners of the .div.body element
- Code:
span.corners-top {
display: none !important;
}
span.corners-bottom {
display: none !important;
}
But unfortunately it created another small glitch by deleting the bottom border of my categories.
Before:
After:
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
I think that will remain, either changes for both or none.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: CSS glitch
Sanket wrote:I think that will remain, either changes for both or none.
But it is weird. On the .div.body it adds corners, while on the category the same code removed both the corners and the bottom part of the border. It sort of makes no sense...to me at least . What is the "CSS name" of the category element that is the problem here?
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
I am confused now.
What are you trying to say.
What are you trying to say.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: CSS glitch
Sanket wrote:I am confused now.
What are you trying to say.
What I am trying to say is that the .span.corners code that corrected an issue with corners on div.body CAUSED a problem with corners on the category border (compare the after picture with the before picture above).
What is the "CSS name" for styling the category element that was affected by the code?
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
The white border radius is what disappeared from both before & after pictures. Nothing wrong with it.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: CSS glitch
Sanket wrote:The white border radius is what disappeared from both before & after pictures. Nothing wrong with it.
Aha. Now I want to style the "category element" that I have been talking about where the corners disappeared. Do you know the "CSS name" of this element?
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
genji watanabe wrote:try this
- Code:
.forabg, .forumbg {
radius css here
}
Thanks, but no, that didn't do anything.
I have styled the categories using the administration panel and it now looks like this:
I would like to style it like the widgets, though, with a border with rounded corners.
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
genji watanabe wrote:in css
.forabg, .forumbg {
border-radius: 8px;
}
I have tried that, it doesn't do anything as far as I can see.
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: CSS glitch
It could help if you post your forum's address.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum