Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP/CSS Style switcher issues & more Reply To: PHP/CSS Style switcher issues & more

#240580
Paulie_D
Member

I really suggest you think about how much you are trying to do here and how you are going about it.

There’s a LOT of repetition in your code…you need to think about how you can eliminate that.

If you really want to give the user that mamy options then perhaps a list isn’t the right way to go.

Perhaps a box they can put their values in and you take that and add that color / size as and when needed. All those font-sizes for instance.

Perhaps using a color picker for your colors etc.

Don’t program every option, take input and use that.