Documentation
HomeForumHelp
  • About Cwicly
  • Beginner's Guide
    • Install Cwicly
    • Getting Started
      • Overview
      • Settings
    • Edit and Manage your Site
    • The WordPress Dashboard
    • The Dashboard Menu
    • Site Editor
    • Create your Front Page
      • Front Page
      • Header
        • Header Template Part
        • Structure
      • Footer
        • Footer Template Part
        • Structure
  • ⚡Cwicly
    • Block ID
    • Breakpoints
    • Class
      • Global/Block Classes
    • Cloud Design Library
      • Create an Account
      • Overview of the Cloud Dashboard
      • Editor: Cloud Library
        • Access from the Editor
        • Add a Library
        • Switch between Libraries
        • Default Library
        • Download Library
        • Remove Library
        • Categories
          • All
          • Popular
          • Button
          • Composition
          • Decorative
          • Interactive
          • Layout
          • Media
          • Menu
          • Social
      • Design Blocks: Cloud Library
        • Search for a Design Block
        • Refresh
        • Add Design Block
        • Save Design to Library
        • Remove Design Block
      • Library Globals
        • Library: Global Styles
          • Library: Add Styles
          • Installation: Add Styles
          • Library: Style Settings
        • Library: Global Classes
          • Library: Add Classes
          • Installation: Add Classes
          • Library: Class Settings
        • Library: Global Stylesheets
          • Library: Add Stylesheet
          • Installation: Add Stylesheet
          • Library: Stylesheet Settings
        • Library: External Classes
          • Library: Add External Classes
          • Installation: Add External Classes
          • Library: External Classes Settings
      • Community Library
        • Save to Community Library
        • Download from Community Library
        • Remove from Community Library
        • Set Community as default
    • Colour Picker
      • Gradient Builder
    • Components
      • Components Library
      • Components Folders
      • Settings
      • Component Properties Modal
      • Properties (Add)
        • Text Property
        • Rich Text Property
        • List Property
        • Link Property
        • Image Property
        • Gallery Property
        • Video Property
        • Icon Property
        • Colour Property
        • Toggle Property
        • Number Property
        • Class Property
        • ID Property
        • Options Property
        • Conditions Property
        • Visibility Property
        • CSS Text Property
    • Copy/Paste
      • Block Styles
      • Classes & IDs
      • Dynamic Preview
      • Global Styles
      • Global Classes & Stylesheets
      • Blocks
    • CSS Grid
    • Dynamic Inserter
    • Font Manager
    • Navigator
    • Quick Inserter
    • Scaling
    • Smart Inserter
    • Span
    • Tag
  • ⛵Tailwind
    • Getting Started
      • About
      • Activate
      • Copy/Paste
      • Enable editing mode
      • Apply a Class
      • Pseudo state Management
      • Automatically Sync
        • Breakpoints
        • Colours
      • Shells
      • Custom Tailwind Configuration
      • Import Tailwind Plugins
  • 🖌️Themer
    • Themer
      • Templates
      • Parts
      • Fragments
    • Role Editor
      • User Role
      • Gutenberg Editor
      • Global Block Behaviour
      • Block Toolbar
      • Miscellaneous
      • Components
      • Code Block
      • Blocks
      • Post Types
      • Force iFrame
      • Client Canvas View
      • Help
      • User
  • 🌐Global Styles
    • Global Styles
      • Global Colours
        • Folders
        • Colour tab
        • Palette tab
        • Modifiers tab
          • Opacity
          • Lighten
          • Darken
          • Saturate
          • Desaturate
          • Spin
      • Dark Mode
      • Global Gradients
      • Global Typography
      • Global Block Typography
      • Theme Elements
      • Global Settings
        • Defaults
        • Backend
      • Remove Gutenberg Global Styles
    • Global Classes & Stylesheets
      • Global Classes
      • Global Stylesheets
      • External Classes
  • 🎨Design
    • Background
      • Background Colors
      • Background Source
      • Sizing & Positioning
      • Styling
    • Typography
      • Typography
      • Rem conversion
      • Global Typography
      • Text Align
      • Font Family
      • Font Size
      • Font Weight
      • Spacing
      • Line Height
      • Style
      • Decoration
      • Transform
      • White Space
      • Overflow Wrap
      • Word Break
      • Word Spacing
      • Axes
      • Text Colour
      • Link Colour
    • Fluid Values
    • Layout
      • Display
      • Visual
      • Position
    • Sizing
      • Height
      • Width
    • Margin & Padding
    • Borders
      • Border
      • Shadows
      • Outline
    • Effects
      • General
      • Transitions
      • Animations
      • Filters
      • Text Shadow
      • Tilter
      • Separators
    • Transforms
    • Pseudo Classes/Elements
    • Relative Styling
  • 🎓Advanced
    • Custom CSS
    • Quick Code
    • Scrolling
      • Animate On Scroll
      • Scroll Direction
    • Attributes
    • Tooltip
      • Source
      • Theme
        • Custom Theme
  • 👆Interactions
    • Visibility Conditions
      • Blocks
      • Themer
    • Link
      • Link Source
      • Link Action
    • Interactions
      • Trigger
      • Actions
    • Hover Animation
    • Dynamic Slider
      • Settings Tab
  • 🖥️Editor
    • Inserter Panel
    • Quick Insert
    • Block Inspector
    • Primary Tab
    • Design Tab
    • Advanced Tab
    • Responsive Selector
  • 🔧Blocks
    • Accordions
    • Accordion
      • Basics
      • Settings
      • Colours
      • Layout
      • Typography
      • Margin and Padding
    • Button
      • Add
      • Icon
    • Code
      • Enable/Disable
      • Add
      • Languages
      • Settings
    • Columns
      • Basics
      • Add
      • Settings
      • Grid Editor
        • Auto Grid
        • Auto Template
    • Column
    • Container
    • Div
    • Filter
      • Basics
      • Filter Editor
      • Create a Filter
      • Style a Filter (example)
    • Fragment
    • Gallery
      • Filter
      • Source
      • Settings
      • Text
      • Image Style
    • Heading
    • Hook
    • Icon
    • Image
      • Source
      • Size
      • Settings
      • Hover Animation
    • Input
      • Input Settings
    • List
      • List Types
      • Settings
      • Icon
    • Maps
      • Settings
      • Size
      • Style
      • Overlay Layout
      • Colours
    • Menu
      • Settings
      • Main Menu
      • Sub Menu
      • Items
    • Modal
      • Modal Style
      • Settings
      • Trigger
      • Animation
    • Nav
      • Nav Block Settings and Styles
      • Nav Items Block
      • Nav Dropdown Block
      • Nav Link
      • Custom Dropdown Block
      • Nav Menu
    • Post Content
    • Paragraph
    • Popover
    • Query
      • Query Settings
      • Query Editor
        • Posts
        • Terms
        • Users
        • Comments
    • Query Template
      • Layout
      • Grid editor
    • Repeater
      • Nested Repeater
    • Section
    • Slider
      • Settings
      • Navigation
      • Dots
    • Slide
    • Styler
    • SVG Block
    • Tab List
      • Tab
    • Tab Contents
      • Tab Content
    • Taxonomy Terms
    • Video
      • Source
      • Settings
      • Div Overlay
  • ⚙️Settings
    • Settings
    • License
    • Icon Collections
    • Font Sets
    • Google Maps API
    • Advanced Settings
    • Regeneration
    • WooCommerce
  • 🛒WooCommerce
    • Archive Page
    • Attributes
      • Colour Type
      • Image Type
    • Cart
    • Product Variations
    • Create a Product Type
      • Simple
      • Variable
        • Create Attributes
      • Grouped
      • External
    • Build a Single Product Page
    • Dynamic Content
    • Link
  • 🗃️Miscellaneous
    • Blocks Specifics
    • Icon Selector
    • Trailing Slash
    • Units
      • Default Units
    • Code Snippets
    • Shortcuts
    • Actions
    • Filters
    • Browser Console
  • 🔗Resources
    • Changelog
    • Roadmap
    • Forum
Powered by GitBook
On this page
  • Classes Modal
  • Searchbar
  • Styles Preview
  • Select a Class
  • Visualise Classes in Modal
  • Create a Global Class
  • Create a Block Class
  • Remove a Class
  • Copy a Class
  • Paste Styles
  • Stay Open
  • Re-position Classes modal
  • Resize Classes modal
  • Quick Editor (Global Classes)

Was this helpful?

  1. Cwicly
  2. Class

Global/Block Classes

Last updated 1 year ago

Was this helpful?

This feature allows you to have an overview of all the classes available on your installation (global classes) or those available on a specific page (block classes).

The information is accessible in an instant from the Classes Modal.

Classes Modal

  • Click the "+" Icon under the Classes field in the Block Inspector to open the Classes Modal.

Searchbar

You can find the class you require by inputting part or all of the required class name into the search-bar.

This will show the class as either Global or Block-specific.

  • Open the Classes Modal by clicking the "+" sign under the Classes field.

  • Input part or all of the class you are searching for.

Styles Preview

If you hover over a particular class, you will be able to visualise the styles that will be applied to your block. This will be Global or Block specific depending on whether the class is Global or Block specific.

  • Open the Classes modal.

  • Hover over a Global or Block class to visualise the styles that could be applied.

Select a Class

When you click on a class, the styles will be automatically added to your block and the the class name will be added next to Modal opening icon ("+").

  • Select a block.

  • Click "+" icon to open the Classes modal.

  • Find required class and click to add it to your block.

  • Visualise class name next to "+" icon.

Global classes will be shown in green.

Block classes will be shown in purple.

Visualise Classes in Modal

To make it easier to know which classes have been applied to a block, both Global and Block-specific, applied classes are highlighted in the Classes modal in green (global) or purple (block).

  • Open Classes Modal by clicking "+" icon.

  • Scroll through Global and Block classes to see which ones are applied to the selected block.

  • Added classes will appear in alphabetical order under the current block class for easy reference.

  • The current block class is identified by a "dot" icon to the right of the class name.

Create a Global Class

The Create property allows you to add a new Global class to your block that can be styled as required.

Created classes are always global.

  • To create a new class, input a unique name into the search field of the Classes modal and click "Create".

So that you know when a class is selected, the border becomes darker.

Create a Block Class

It is possible to create a block specific class and not one that will be applied globally.

  • Input required block name into the Class field in the Classes modal.

  • Press Shift/Enter to create a block class.

Remove a Class

Classes can be removed in two ways, directly from the block inspector or from the classes modal.

Remove from the Block Inspector

  • Hover over the class to be removed.

  • A "X" icon will appear.

  • Click "X" to remove.

Remove from the Classes Modal

When you hover over a class in the Classes modal, a "X" icon appears. When clicked, it removes the class from the current block.

With a Global class, this will remove the class from the current block alone but will not delete the class permanently.

  • Hover over class to be removed in the Classes modal.

  • Click "X" icon to remove class.

Delete a class permanently

If you wish to delete a Global class from your installation and not just from the current block, you can do so from the Classes modal.

  • Hover over the class to be deleted and click the "trash" icon.

  • This will remove the class permanently from your installation.

Copy a Class

This allows you to copy a class directly from the Classes modal to save time and improve your workflow.

  • Hover over class to be copied in the Classes modal.

  • Click "copy" icon to copy class.

Paste Styles

This allows you to paste copied styles wherever you require.

  • Hover over the class to which you wish to add copied style.

  • Click "Paste Styles" icon.

  • PasteStyles using keyboard shortcuts.

Stay Open

The "Stay Open" toggle allows you to keep the classes modal open for as long as you require. Otherwise, by default, the classes modal will close as soon as you perform another action.

  • Find the "Stay open" trigger.

  • Toggle on to allow the classes modal to remain open.

  • Toggle off to close the classes modal.

Re-position Classes modal

The Classes modal can be moved to the location that is most convenient for your workflow.

  • Grab and drag Classes modal and move to desired location.

Resize Classes modal

Th width of the Classes modal can be increased or decreased as required.

  • Find "Width" icon at the bottom right corner of the Classes modal.

  • Drag to required size.

Quick Editor (Global Classes)

The code of a selected Global Class can be edited directly from the Class.

  • Hover over the Global Class you want to edit using the Quick Editor.

  • Click Quick Editor icon to open the Quick Editor modal.

⚡