Read the statement by Michael Teeuw here.
Random_Quotes
-
Hello,
I need to set width of this module random_quotes in my custom.css.
Right now the only way I can find to get it to flow the full width of my screen is to edit line 176 of the modules js file. link text
From this:quote.style.maxWidth = '50%';
To this:
quote.style.maxWidth = '98%';
What would I put in the custom.css to make the same change?
-
-
@sdetweil
Hey I used that ctrl+shift+i and that was how I found what was causing the width issue. When i put the that in the css it did nothing.
So where am I not seeing how to use that window in MM.
I followed the instructions you gave in the page you linked to, but all it showed me what I had already found in the modules js file. Wait since it is in the modules js file do I need to set the sizing in the config.js of MM instead? -
@plainbroke all updated styles go in custom.css
if a module provides configuration options, then you could use that
css overrides work on most specific wins.
did the style work in the dev window?
sometimes you have to force it by adding !important to the style you are setting to get specific.
width is a crazy thing in browser…
it’s the width of the square, NOT THE WIDTH of the content.
-
@sdetweil
Ok I forgot about the important message in the css. I will try that when I get a chance. Busy week this week and next.