-
Notifications
You must be signed in to change notification settings - Fork 8
Pressidium Cookies Table block
The Pressidium Cookies Table block displays a dynamic table listing all cookies under the selected category, making it easy for users to understand what cookies are being used on the site.
This block is particularly useful for websites that have a distinct cookie policy page.
You could use the [pressidium_cookie_consent_cookies]
shortcode instead, learn more about it at the Shortcode section of this wiki.
- In the Block Editor (also known as Gutenberg), click the
+
button and search for Pressidium Cookies Table. - Select the block and configure it to display the cookies under the desired category.
- Publish or update the page.
When you select the Pressidium Cookies Table block, you can adjust its settings via the block toolbar and the block settings panel. You can also customize the block's appearance using the block styles panel.
The block toolbar appears when you select the block. It allows you to perform the following actions:
Align the block to the left, center, or right, or make it wide or full width.
Align the block's header to the left, center, or right. This setting only affects the header (i.e. the first row) of the table.
Align the selected column to the left, center, or right.
To use this feature, click anywhere in the column you want to align, then click the alignment button in the toolbar and select the desired alignment.
The block settings panel allows you to configure the block's settings. You can adjust the following settings:
Select the category of cookies you want to display in the table.
Toggle to show or hide any of the following columns: Name, Domain, Expiration, Path, and Description.
Toggle to wrap the Name and/or Domain columns.
The block styles panel allows you to customize the block's appearance. You can adjust the following settings:
Choose from predefined styles to apply to the block. The available styles are Default and Stripes.
Customize the colors of the block. You can adjust the Text color, Background color, and Stripe color.
Customize the typography of the block. You can adjust the font family, font size, font weight, line height, letter spacing, etc.
Customize the dimensions of the block. You can adjust the padding and/or margin.
Customize the border and shadow of the block. You can adjust the border width, border style, and border color.
You can also adjust the drop shadow.