• Resolved dngood

    (@dngood)


    Hi. I was hoping to find a way to configure the some of defaults for blocks such as buttons, boxes, and toggles – ideally within the plugin, or via global css. However I can’t see how I can do this; for example, I was hoping that blocks such as the Notification info/success/warning/error boxes would just have a class – e.g. ub-notification-box-info which I could use in the global css, or perhaps that the transparent button style would be a ub-button-transparent.

    However, this isn’t the case. Are there any ways I’m missing to either configure the defaults or globally override the defaults while keeping the subtly within the different types of block (e.g. styles of notification boxes)?

    I understand I can do this by adding an additional CSS class to the block, but this doesn’t always work – for example a class added to a block of buttons which are a mix of normal and transparent.

    • This topic was modified 2 years, 11 months ago by dngood.
Viewing 1 replies (of 1 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi,

    We have a feature in pro add-on – Saved Styles.

    This lets you save any specific style combinations and make any of them the default style for the block.

    So, after you choose your custom style as the default style, anytime the block is inserted the block will have that style by default.

    This available with the pro add-on for the following blocks – Table of Contents, Button (Improved), Content Toggle, Tabbed Content, Social Share.

    Eventually we will add it to all blocks.

    Kind regards.

Viewing 1 replies (of 1 total)

The topic ‘Globally setting default styting’ is closed to new replies.