Unsure of CSS Syntax
- redluss
- Topic Author
- Offline
- New Member
- Thank you received: 0
should the headers for each style line read like this (where 29 is the module number)?
.ajaxscrl .mScroller29 {
if so, does this need to be carried to every declaration on the page?
Thanks.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
If you read the documentation , it says:
Now, if you open styleID.css you will notice it's little different than global CSS file. It goes like:If you run multiple instances of the module you can do individual styling by creating and uploading a css file with module ID:
modules/mod_ajaxscroller/mod_ajaxscroller/styleID.css (Joomla 1.5)
modules/mod_ajaxscroller/styleID.css (Joomla 1.0)
For example, if your module ID is 51 you would name the file create file "style51.css"
There is an example css file (styleID.css) included that you can edit for this purpose.
#ajaxscrlID .mScroller {
So your file should be called style29.css and look like:
#ajaxscrl29 .mScroller {
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- redluss
- Topic Author
- Offline
- New Member
- Thank you received: 0
-S
Please Log in or Create an account to join the conversation.
- redluss
- Topic Author
- Offline
- New Member
- Thank you received: 0
I have looked around, and have eventually found the file, however my changes are still not being recognized by the browser.
Originally, I had 4 of the modules installed on the page, but to troubleshoot, I removed 3 and just left one active. I renamed the stylesheet to styles29.css (to coordinate with the module ID), renamed all the lines to .ajaxscrl29 .mXXXXXX - and no matter what I put in for size, it's not changing. I have even tried just crazy numbers to see if it screws up the page, but no matter what I do, it appears that the CSS changes aren't taking effect.
Any other ideas?
(see example at www.ltveh.org/newsite )
Please Log in or Create an account to join the conversation.
- redluss
- Topic Author
- Offline
- New Member
- Thank you received: 0
...sorry for the trouble.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.