is there a way to combine classes?
I have an unordered list, that I want to put under a paragraph. But I want the unordered list to share the same styling as the paragraph. So - when I change the paragraph, the same changes will propagate to the <ul>. Then, in the <ul> I can make my own changes such as font size. It doesn't seem possible, but I want to ask in case there is a way and I am just missing it. Overall, so one will not have to make multiple changes if a font or other stylings change.
RSD produces this code:
p.paragraph.lead { font-size: 18px; font-family: 'Open Sans', sans-serif; }
and I want to attach that class to the list
ul.unorder-list.unordered-list-1 { list-style-position: inside; list-style-type: none;}
combining classes - Post ID 261637
You can use the same class across elements but RSD will alter the css to target the individual elements. I think classes are kept separated to keep design mistakes to a minimum.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.