Unsure of CSS Syntax

14 years 3 months ago - 14 years 3 months ago #5966 by Saka
Hello,

If you read the documentation , it says:

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.

Now, if you open styleID.css you will notice it's little different than global CSS file. It goes like:
#ajaxscrlID .mScroller {

So your file should be called style29.css and look like:
#ajaxscrl29 .mScroller {
etc.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

14 years 3 months ago #5969 by redluss
Thanks for the response - though I did search the installed directory and couldn't find the example CSS file. I'll give this a shot.

-S

Please Log in or Create an account to join the conversation.

14 years 3 months ago #5970 by redluss
Emir-

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.

14 years 3 months ago #5971 by redluss
I think I got it-  had to change permissions on all the style.css files to 0644, and now it appears they are reading....


...sorry for the trouble.

Please Log in or Create an account to join the conversation.

14 years 3 months ago #5973 by Saka
Note that it should not be .ajaxscrl29 but #ajaxscrl29!

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

14 years 3 months ago #5974 by redluss
thanks for explaining the # - I hadn't seen that before, and just updated it. However, I am going out of my mind - I have updated all of the style sheets, and when I thought I had it working before, I was incorrect - it isn't working properly still.

What else could I possibly be missing?

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch