Hello!
I'm using cmsms v1.1.
I've done 2 previous installations of older versions of cmsms (last year), and didn't experience this problem....
When I copy module tags (specially, the Bookmark module and the SiteMap module) into the Content area of my Wysywig editor, my template-associated style sheets are not applied to the modules. The resulting content is unformatted. I tried inserting tags around the module tags in the Content areas, but that doesn't fix it.
Since I can't see the actual code in these modules, I can't tell what it's trying to call from the CSS so that I can modify my CSS.
You can see what I'm describing at:
http://www.ocheritage.org
Go to the Resources menu item to see the Bookmarks module content.
Go to the SiteMap menu to see the SiteMap module content.
Thank you!
Colleen
CSS not being applied to module tags in the Content area
-
CRobledo
Re: CSS not being applied to module tags in the Content area - FIXED
I solved this myself.
I figured the modules reference just the basic HTML tags (ex: "ul", and "li"), whereas the template CSS's use classes and IDs to reference lists...so I just had to add basic "ul" and "li" formatting to my CSS (with no ID or class).
I figured the modules reference just the basic HTML tags (ex: "ul", and "li"), whereas the template CSS's use classes and IDs to reference lists...so I just had to add basic "ul" and "li" formatting to my CSS (with no ID or class).
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: CSS not being applied to module tags in the Content area
If it's solved, please modify your original post, and add [SOLVED] to the start of the topic.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: CSS not being applied to module tags in the Content area
On the Local Web Friends page if you look at the page source view you will see there are 2 things you can point to for more specific targeting of the ul li...
Closest is = #main ul or li {your style}...
You want to get as close to them as possible as some time in the future you may have an ul li in a page that you don't want that style on so #cms-module-bookmarks {your style} would be best, you may have to add table to the front of it...
table #cms-module-bookmarks {your style}...
Closest is = #main ul or li {your style}...
You want to get as close to them as possible as some time in the future you may have an ul li in a page that you don't want that style on so #cms-module-bookmarks {your style} would be best, you may have to add table to the front of it...
table #cms-module-bookmarks {your style}...

