🧮Border Radius
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:
--border-radius-buttons-and-inputs- this variable adjusts theborder-radiusfor buttons and inputs.--border-radius-tags-and-icons- this variable adjusts theborder-radiusfor tags and tag icons.--border-radius-images- this variable adjusts theborder-radiusfor images.--border-radius-blocks- this variable adjusts theborder-radiusfor various elements on the website, including sidebar widgets, post's content blocks, etc.--border-radius-navigation- this variable adjusts theborder-radiusfor navigation block in header.--border-radius-submenus- this variable adjusts theborder-radiusfor submenu.--border-radius-social-icons- this variable adjusts theborder-radiusfor socials icons on the website.
To customize:
Access the Settings > Code Injection from the admin menu.
Click Open
In the provided space, specify the desired border-radius using the appropriate CSS variable. For example:
<style> :root { --border-radius-buttons-and-inputs: 8px; --border-radius-tags-and-icons: 8px; --border-radius-images: 8px; --border-radius-blocks: 8px; --border-radius-navigation: 8px; --border-radius-submenus: 8px; --border-radius-social-icons: 8px; } </style>Code injection with border-radius variables Click Save
Last updated