Magazine Blocks by BlockArt

Gutenberg Editor, Magazine & Newspaper Website Builder, Page Builder with Posts Blocks

Tab Post

Tab Post Block is a useful block provided by the Magazine Block plugin. It is suitable if you are looking to have your posts displayed in a multi-tab format, as shown below:

Adding Tab Post Block
Adding Tab Post Block

After you have chosen the Tab Post Block, you’ll get a block editing panel on the right-hand side. It has three options: General, Style, and Advanced. These options customize the design and other elements of the block. Let’s explore one by one below:

General #

Query #

  • Post-Count – In this section, you can choose the number of posts to be displayed according to the site’s requirements.

Post Title #

The options work for the post title of the tab post block and provide the following options:

  • HTML Markup – It changes the heading tag for the post title. Under the HTML Markup option, select the required markup for your post title. You can set your post title to be in H1 – H5.

Style #

Under the style option, you’ll find the following options available:

Post Title #

The options work for the post title of the Banner Post block and provide the following options:

  • Typography – It allows you to control the Highlighted Post Title Typography, such as Font FamilyWeightFont size, Line height, and other related styling properties. The options is listed below:
    • Font Family – The option allows you to choose the appropriate Font Family for the heading block.
    • Weight – It refers to the thickness or boldness of the heading text.
    • Size – It controls the Font Size of the heading text.
    • Line Height – It manages the space above and below the heading text.
    • Letter Spacing –  It controls the amount of space between characters in the heading text.
    • Style – Using the property, you can set the heading text to be Italic or Oblique.
    • Transformation – It changes the case of the text such as Lowercase, Uppercase, and Capitalize.
    • Decoration – The styling is applied to the heading block to make it more visually appealing. The options include underline, overline, and line through.
  • Text Color – It allows you to change the color of the post title on Normal and Hover Modes.

Advanced #

The Advanced section consists of four options for the Tab Post block.

Spacing #

Under the spacing section, you can find the following options available:

  • Block Margin – According to the site requirement, you can assign a specific margin value to the block along with units like px, em, %, and rem. Moreover, you can set the value of the different margins for various devices (Desktop, Tablet, and Mobile).
  • Block Padding – According to the site requirement, you can assign a specific padding value to the block along with units like px, em, %, and rem. Moreover, you can set the value of the different margins for various devices (Desktop, Tablet, and Mobile).

Z-Index #

It allows you to set the priority of the Banner Posts block according to the site requirement.

Responsive Condition #

Using the option, you can enable/disable displaying the block on various screen sizes:

  • Hide on Desktop – It hides the Featured Post block on the Desktop.
  • Hide on Tablet – It hides the Featured Post block on Tablet.
  • Hide on Mobile – It hides the Featured Post block on Mobile.

Advanced #

Under the option, you can set the CSS ID and Classes for this particular Banner Posts block. The available options are listed below:

  • Block HTML – It sets the HTML elements to your site requirements. By default, the HTML element is div; however, you can use another element such as Address, Article, Aside, etc.
  • CSS ID – It allows you to set specific IDs to style this particular block. Once you have set the ID, you can write the CSS Code to style the block using that particular ID.
  • Additional CSS Class(es) – It allows you to add a CSS class to your block, letting you write custom CSS to style this particular block.

For example, if you want to change the width of the Banner Posts block only, you can add a class such as tab-post-width to the Additional CSS Class field. After that, visit your CSS editor and write a style for the class as below:

.tab-post-width{
width:70%
}

Upon adding the code, it will make the changes only to this particular Tab Post block and not other blocks.

Powered by BetterDocs

Scroll to top