Principle
  • 👋Introduction
  • 🆕Changelog
  • 🏁Getting Started
    • 🔽Uploading a Theme
  • 📜MAIN TEMPLATES
    • 📰Post Template
    • 📃Page Template
    • 📑Categories (Tags) Template
    • 🧑‍🎨Authors Template
    • ♾️Archive (All posts) Template
    • 💡Case Study Template
    • 💼Case Studies (All case studies) Template
  • ⚙️CUSTOM SETTINGS
    • ™️Logos
    • ✳️Header Type
    • 🎨Colors
    • 🧮Border Radius
    • 📢Subscribe CTA Text and Subtext
    • 🍧Sidebar subscribe banner and advertising banner
  • 🤝Membership
    • 🎬Setting Up
    • 🔽Sign In Page
    • 🆙Sign Up Page
    • 🔀Subscribe Page
    • 👤Account Page
    • 💸Membership Page
  • 🔧OTHER SETTINGS
    • ⏬Submenus
    • 🧰Add Icons in Navigation bar
    • 📸Add Your Social Link (Icon)
    • 💬Comments
  • ☑️TERMS & CONDITIONS
    • 🔁Refund Policy
Powered by GitBook
On this page
  1. CUSTOM SETTINGS

Border Radius

PreviousColorsNextSubscribe CTA Text and Subtext

Last updated 6 months ago

Digital 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-button - this variable adjusts the border-radius for buttons.

  2. --border-radius-input - this variable adjusts the border-radius for inputs.

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

  4. --border-radius-tag-icons - this variable adjusts the border-radius for tag icon.

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

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

  7. --border-radius-section - this variable adjusts the border-radius for header and main section.

  8. --border-radius-navigation - this variable adjusts the border-radius for navigation block in header.

  9. --border-radius-date-block - this variable adjusts the border-radius for date block in post card.

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:

    Copy

    <style>
      :root {
        --border-radius-button: 6px;
        --border-radius-input: 6px;
        --border-radius-tags: 100px;
        --border-radius-tag-icons: 8px;
        --border-radius-images: 8px;
        --border-radius-blocks: 8px;
        --border-radius-section: 16px;
        --border-radius-navigation: 6px;
        --border-radius-date-blocks: 4px;
      }
    </style>

  4. Click Save

⚙️
🧮
Code injection with border-radius variables