classes - Post ID 281102

User 2903050 Photo


Registered User
260 posts

Hi, "its me again". Sorry.

I am being a bit of a picky perfectionist. Say you create a container with a class like container-main-pic or some styles to text like heading-main-blue.
If you decide to not use them, does the Site Designer just get rid of them and not save to the CSS when you export if you do not have any elements with those classes. I am worried about making some classes for say containers and deciding against them but the CSS file become huge of unused waffle that affects the load times.

Hope you understand.
Regards
User 2088758 Photo


Senior Advisor
3,086 posts

Hi Philip,

The best way to keep your classes clean is to us the remove styles and select the style you want to remove. This will remove the classes associated with them from the css.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2903050 Photo


Registered User
260 posts

But say you create a class with lots of different options of styles but then do not use an element or content with that class, will it still be saved in the css?
Cheers
User 122279 Photo


Senior Advisor
14,450 posts

Hi Phillip,

Hey, don't be sorry for asking questions! :) We learn from your questions and the replies you get! As far as SD3 is concerned, you are way ahead of me, so I'm following your progress with interest, hoping to maybe catch you up some time :lol:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2088758 Photo


Senior Advisor
3,086 posts

Technically I'm not really sure of the finer details. This would be a good question for Bob or Susan.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2903050 Photo


Registered User
260 posts

Inger wrote:
Hi Phillip,

Hey, don't be sorry for asking questions! :) We learn from your questions and the replies you get! As far as SD3 is concerned, you are way ahead of me, so I'm following your progress with interest, hoping to maybe catch you up some time :lol:

That's very kind of you to say Inger. Regards

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.