Grapesjs: [QUESTIONS] How to apply the style changes to the ID instead of the class?

Created on 21 Feb 2019  路  6Comments  路  Source: artf/grapesjs

Hi,
I have two elements with the same classes. I want to apply style changes with style manager to one of these two elements. I add ID but the style applies to the class not to the ID.

What can I do?

outdated

All 6 comments

At the Style Manager painel, you have a way to select/unselect to which css selectors (classes or id)
you want to apply the styling.

Click on a block and open the Style Manager panel. You will see all selectors applied to that block.

Thanks ... The UI is not user-friendly.

@abozhinov

Thanks ... The UI is not user-friendly.

Suggestions are not prohibited...

@artf
I think the problem is in the ICON. I edit the sources code and replace it with SVG also rewrite the style.
Do I have an option to replace the TEMPLATE for each section without editing the source code?
screenshot 2019-02-22 at 18 18 06

The framework is great I really love it :)

No, unfortunately, editing templates of the UI it's not yet possible but we hope to achieve it one day

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kawika-connell picture kawika-connell  路  3Comments

Geczy picture Geczy  路  3Comments

krunal039 picture krunal039  路  3Comments

FlashPapa picture FlashPapa  路  3Comments

crazyxhz picture crazyxhz  路  3Comments