The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Switch grid function
Ok, not sure if this is possible but basically I have a class with a width of 50% and I have a jquery function that expands the class to show more text. Is it posiblé to override the class width with a deferent percentage? To 100%?
You mean something like
$(‘.class’).css(‘width’, ‘100%’)
If .class is 50% then you can use div.class as the override for 100%
Dunno if f that helps your script but that’s how you would override that class by granular means