Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Selector Issue (Custom CSS) #43

Open
dtcblyth opened this issue Jan 24, 2024 · 0 comments
Open

Multiple Selector Issue (Custom CSS) #43

dtcblyth opened this issue Jan 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dtcblyth
Copy link

Related thread: https://discord.com/channels/1041765492907589683/1079860683623116862/threads/1184739841326469211

Problem:

When specifying multiple Custom CSS selectors for a single element, only the first selector is prefixed with the module’s orderClass.

For example, this:

...
myElement: {
  subName: 'myElement',
  selectorSuffix: ' .selector_one, .selector_two, selector_three',
},
...

Should output styles like this:

.my_module_01 .selector_one, .my_module_01 .selector_two, .my_module_01 .selector_three {
  color: #123456;
}

But actually outputs this :

.my_module_01 .selector_one, .selector_two, .selector_three {
  color: #123456;
}

An example of this can been seen the in the Divi Audio Settings > Advanced > Custom CSS > Player Sliders Current field. (See screen shot attached, below)

This is issue is closely related to another Custom CSS issue, previously described issue, here: #23

Screenshot_2023-12-14_at_2 01 54_PM
@dtcblyth dtcblyth added the bug Something isn't working label Jan 24, 2024
@dtcblyth dtcblyth changed the title SCOPE :: Summary Multiple Selector Issue (Custom CSS) Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant