🧮Border Radius

Digital Nomad supports customizing Border Radius of buttons and tags.

The theme provides two CSS variables that allow you to customize the border-radius of various elements:

  1. --border-radius-buttons - this variable adjusts the border-radius for buttons.

  2. --border-radius-tags - this variable adjusts the border-radius for tags.

  3. --border-radius-inputs - this variable adjusts the border-radius for inputs.

  4. --border-radius-images - this variable adjusts the border-radius for images.

  5. --border-radius-blocks - this variable adjusts the border-radius for various elements on the website, including sidebar widgets, post's content blocks, etc.


To customize:

  1. Access the Settings > Code Injection from the admin menu.

  2. Click Open

  3. In the provided space, specify the desired border-radius using the appropriate CSS variable. For example:

    <style>
        :root {
            --border-radius-buttons: 3px;
            --border-radius-tags: 3px;
            --border-radius-inputs: 3px;
            --border-radius-images: 6px;
            --border-radius-blocks: 6px;
        }
    </style>
  1. Click Save

Last updated