Page 1 of 1

CSS not being applied to module tags in the Content area

Posted: Thu Aug 30, 2007 3:26 am
by CRobledo
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

Re: CSS not being applied to module tags in the Content area - FIXED

Posted: Thu Aug 30, 2007 3:47 am
by CRobledo
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).

Re: CSS not being applied to module tags in the Content area

Posted: Thu Aug 30, 2007 4:31 am
by calguy1000
If it's solved, please modify your original post, and add [SOLVED] to the start of the topic.

Re: CSS not being applied to module tags in the Content area

Posted: Fri Aug 31, 2007 5:08 am
by Dr.CSS
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}...