span unique id

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Phidippus
 
 
Posts: 25
Joined: Thu Mar 12, 2015 5:16 am
Contact:

span unique id

Post by Phidippus »

I'm guessing this is a stupid question, considering I've been using this software in fairly advanced ways for years...
But I missed when this began happening: <span id="wb_uid2">
I don't understand why Web Builder is generating unique span id's when I've defined a class and I find I can't override the span id's with custom css applied to the div or class even using !important - which I know, isn't best practice anyway.
What am I missing here? I'm sure I've just missed something obvious, right...?
Thanks...
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: span unique id

Post by Pablo »

The unique is genned when inline styles are moved to the global style sheet.
This either happens when you are using breakpoints (because inline styles are not responsive) or the option 'Optimize inline styles' is enabled.
Phidippus
 
 
Posts: 25
Joined: Thu Mar 12, 2015 5:16 am
Contact:

Re: span unique id

Post by Phidippus »

Yup... optimize/move inline styles to style sheet - that did it.
I have a feeling the last update may have changed my default setting for this, no? :P
Oh well... fixed now. Thanks !
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: span unique id

Post by Pablo »

This option has not been changed in recent versions.
Phidippus
 
 
Posts: 25
Joined: Thu Mar 12, 2015 5:16 am
Contact:

Re: span unique id

Post by Phidippus »

Pablo wrote: Sun Oct 11, 2020 4:22 pm This option has not been changed in recent versions.
I believe you. I must have inadvertantly changed the preferences for a different website. I figure the prefs are not saved with the project.
Post Reply