Change Element Width and/or Height. (made some changes to better to results).
Add custom <style> to your pages head on the fly.
Added:
Change Element Width and/or Height over ms in time (choose the speed of the expansion/retraction via the amount of ms you allow the effect to take to complete).
head over to your apps settings tab, then into general and check the option expose element id’s. now head to the group you want to torture and scroll to the bottom of the properties, right at the bottom you will see element id, give it a manly name and that my friend shall be what you need for the css tools. in regards to the 100% of the screen height you should be able to grab the height from the css tools element.
Thanks for this. Although I’m familiar with CSS, not sure how to implement this plugin. Do you add all css in the header on page level or do you use the plugin element on certain elements? What is the best way to implement?
This is how the CSS tools element looks like for me:
if your trying to perform a task that is specified like change width, height in px or % for an element or two i would go that way but if you have a 300 word <style></style> that you want to add or even dynamically modify on load then go with the add style to head.
use case: lets say i want my users to be able to design how there page looks, then i could have them choose colors fonts and so on, save the prefs to the user, then dynamically insert the data into the add style to head element action on page load to style that users page.
the way this is used is you drop that element on your page, then you use it by going to actions, element actions rather than plugin actions and choose your poison from there. you can also use the states like when CSSTools;s A;s page orientation is portrait alter for mobile experience or users on phones seem to change between portrait to landscape many times maybe i should change something to make it flow.
Ah! For some reason the element actions were not showing up. After refresh they were there. That explains a lot.
Now, it seems I cannot add the CSS tools element to a RG. The element won’t show up to select in the actions.
What I’m trying to do is setup two attribute ID’s for a RG: rg-big and rg-small and use a condition on the RG to dynamically change the attribute ID on the element. Then use your plugin to set the default height of the RG’s cell. But it can’t seem to reference the RG?
I may be being daft here but when i look to alter the width of elements (results) in a Repeating Group, only the first entry is affected. The rest of the entries stay the same width.