Hey all,
Our company uses a custom theme template that was built for us several years ago. It’s got a lot of bells and whistles for the designers, and isn’t too difficult to modify for us developers. I’ve built a module that allows a designer to create a gallery, and they would like the ability to set certain things like font size, container padding, and background color. The way that our template currently handles this kind of thing is to create a post attribute for, say, padding, and then set that padding using inline CSS in the html template file. This is a bit problematic as far as CSS goes, and I would like to have that functionality without using inline CSS. Could JS be leveraged to make the CSS a little more manageable?
[ad_2]