🧮Border Radius
Last updated
Last updated
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-button
- this variable adjusts the border-radius
for buttons.
--border-radius-input
- this variable adjusts the border-radius
for inputs.
--border-radius-tags
- this variable adjusts the border-radius
for tags.
--border-radius-tag-icons
- this variable adjusts the border-radius
for tag icon.
--border-radius-images
- this variable adjusts the border-radius
for images.
--border-radius-blocks
- this variable adjusts the border-radius
for various elements on the website, including sidebar widgets, post's content blocks, etc.
--border-radius-section
- this variable adjusts the border-radius
for header and main section.
--border-radius-navigation
- this variable adjusts the border-radius
for navigation block in header.
--border-radius-date-block
- this variable adjusts the border-radius
for date block in post card.
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:
Copy
Click Save