- Posts: 4
- Thank you received: 0
Sparky: Styling background and border of a row
-
janrijn
Inactive member - Topic Author
- New Member
Less
More
11 years 1 month ago - 11 years 1 month ago #34699
by janrijn
Sparky: Styling background and border of a row was created by janrijn
I would like to style a row that contains (Content) and a Module (Right)
I named the row mid_row with class name cont_mod
I would like to have a white background with a red border for this container
How can I style this with css?
This is the link to the test site
So far I haven't found the solution, I hope you can help me here.
If there is a solution to outline two rows it would even be better.
I named the row mid_row with class name cont_mod
I would like to have a white background with a red border for this container
How can I style this with css?
This is the link to the test site
So far I haven't found the solution, I hope you can help me here.
If there is a solution to outline two rows it would even be better.
Last edit: 11 years 1 month ago by janrijn.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34706
by ivan.milic
Replied by ivan.milic on topic Sparky: Styling background and border of a row
In template_css.css at bottom put:
.cont_mod > DIV{
background:white;
border:1px solid red;
}
.cont_mod > DIV{
background:white;
border:1px solid red;
}
Please Log in to join the conversation.
-
janrijn
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
11 years 1 month ago #34712
by janrijn
Replied by janrijn on topic Sparky: Styling background and border of a row
That is the solution, however the border shows up again under the styled row.
When I look at the style elements, the clr that comes after the row also has this styling now.
Do you know how to solve this?
When I look at the style elements, the clr that comes after the row also has this styling now.
Do you know how to solve this?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34722
by ivan.milic
Replied by ivan.milic on topic Sparky: Styling background and border of a row
Send link so we could see that
Please Log in to join the conversation.
-
janrijn
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
11 years 1 month ago #34746
by janrijn
Replied by janrijn on topic Sparky: Styling background and border of a row
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34764
by ivan.milic
Replied by ivan.milic on topic Sparky: Styling background and border of a row
Use:
.cont_mod > DIV.container{
background:white;
border:1px solid red;
}
instead
.cont_mod > DIV.container{
background:white;
border:1px solid red;
}
instead
The following user(s) said Thank You: janrijn
Please Log in to join the conversation.
Time to create page: 0.109 seconds