Ikon boks

The GutenKit Icon Box block comes with many useful options like icons, badges, text, buttons, Watermark icons, etc to effectively display your products, services, customer reviews, and other information. 

This multipurpose block has extensive choices for the icon, text, badge, and a range of customization options to style a unique information box in an easily digestible way.

In this guide, we will learn about using the GutenKit Icon Box block in the Gutenberg builder.

How to Use GutenKit Icon Box Block #

Naviger til: WordPress Dashboard > Choose or create a New page or post > Click the “+” icon at the top of the block editor screen  > Search GutenKit Icon Box. Now, simply drag and drop it into the editor.

Once the GutenKit Icon Box block is on your editor screen, click on it. The right sidebar will open all the features of this block. These features are structured under three different categories: Indhold, Stil, og Fremskreden.

Step 1: Add an Icon #

We will start with the Content tab. First, add an icon.

Come under the Content tab,

Ikon: #

  • Tilføj ikon: Toggle this button to add an icon.
    • Overskrift ikon: Click the “Ikon bibliotek” button and a popup will reveal extensive icon options. Like the image below.

From here, choose your icon. You can also use the search bar to quickly find your icon. Once you see your preferred icon, click on it. Then hit the “Indsæt” button at the bottom of the popup.

And the icon is successfully added.  

Now if you want to add an SVG icon, enable the Tilføj ikon option like the previous step and it will reveal the Overskrift ikon. Her, 

  • Klik på "Upload SVG" mulighed. 
  • It will require you to enable SVG file upload support. Simply, select the “Aktiver" mulighed.
  • It will direct you to the upload media file option. Just upload your SVG icon like you add any media files from your device.

Step 2: Add Button & Badge #

Continuing on, we will give our attention to adding a button and badge on the icon box.

Knap: #

  1. Aktiver knap: Click this toggle button to add a button in the icon box.
  2. Enable Button On Hover: Activate this button to show the button on hover.
  3. Etiket: Edit your button label.
  4. URL: Enter the link you want to drive the visitor.
  5. Vis ikon: Enable this button to show an icon with the button.
  6. Vælg ikon: Select your preferred icon.
  7. Ikonposition: Place the icon before or after the button.

Badge: #

  1. Vis badge: Click this button to show the badge in the icon box.
  2. Titel: Type the title you want.
  3. Position: Locate badge position from six different locations. Or, you can enter top & left values for a custom location. 

Step 5: Additional Configuration #

Learning the next step will help you add a watermark icon and adjust its placement.

Indstillinger: #

  1. Enable Hover Watermark: Toggle this button to show an icon on hover.
    • Choose Watermark Icon: Select an icon from the library or upload your own one.
  2. Header Icon Position: Set the header icon position (Top /Left /Right)
  3. Indholdsjustering: Select the alignment of your icon box content.
  4. Titel HTML-tag: Select the title HTML tag to H1- H6, Div, Span or P.

Step 5: Icon Box Customization #

Now we will proceed with the customization features for the icon box. Go to the Style tab.

Icon Box Container,

  1. Add Hover Animation: Toggle this button to add a hover animation effect for the container box.
  • Svæveanimation: Select an animation type from four different effects.
  1. Add Hover Background Animation: Activate this button to add a background hover animation effect. (To set a background type, you need to use the Fremskreden tab.)
    • Animation Direction: Set your animation direction. (Left, Right, Top, Bottom) 

Step 6: Typography & Watermark Icon Customization #

Fra Indhold settings of the Stil tab, you will customize the Title and Description text separately.

  1. Justering: Align the icon to left, center, or right.
  2. Margin: Specify the space around the text.
  3. Farve: Pick a color from the color palette.
  4. Hover farve: Add a color for the hover effects.
  5. Typografi: Set font family, size, weight, transform, style, decoration, line height, letter spacing, and word spacing.

And, there are multiple style settings for the Watermark Icon:

Watermark

  1. Farve: Pick a color for the Water Makr icon.Watermark Icon Size: Define the size of the watermark icon.

  2. Step 7: Style The Icon

Here’s a wide range of features for customizing the icon style. Let’s see the use:

  1. Størrelse: Specify the icon size in pixels.Rotere: Use the bar to rotate the icon or enter the value in degrees.Vertical Position: Set the icon’s vertical position in pixels.Brug Højde Bredde: Enable this button to customize the width and height of the icon

  2. Bredde: Set the width of the icon.Højde: Determine the gap between text and icon.Line Height: Adjust the height of the icon line.

The remaining features are applied to both normal and hover states.

5. Ikon farve: Use the color picker tool to assign a color to the icon.

6. Ikon baggrundsfarve: Give color to the icon background.

7. Grænse: Use the slider or manually enter a value in pixels for borders.

8. Grænseradius: Give a value for the border radius to control the roundness of the border.

9. Box Shadow: Adjust the shadow around the box.

10. Margin: Define the margin around the icon.

11. Polstring: Set the padding within the icon.

Step 8: Badge Customization #

The last step includes customizing the badge.

Badge: #

  1. Polstring: Define the spacing around the badge.
  2. Grænseradius: Specify the roundness of the border of the badge.
  3. Farve: Select the color for the badge text.
  4. Baggrund: Choose the background color of the badge.
  5. Box Shadow: Set the box shadow’s softness, size, and direction.
  6. Typografi: Change the typography options for the badge.

That’s all! Now you can easily add an icon box to show anything informatively on your website.

Hvad er dine følelser
Updated on marts 4, 2024