Banner Posts is a useful block provided by the Magazine Blocks plugin. The Block is suitable if you are looking to have your posts displayed in a banner form as below:
After you have chosen the Banner Posts 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 #
- Preset – It refers to the way in which the blog posts are organized or rearranged. The Banner Posts block currently provides two layouts with various styles for displaying the posts.
- Content Alignment – It sets the position of the post content to be on the Left, Center, and Right. Moreover, you can set the position of the content to be different on various devices (Desktop, Tablet, and Mobile).
Query #
It consists of the settings related to the posts that are displayed on the front end. It allows you to choose posts depending on Category, Tag, Date, Title, Authors, etc.
Also, you can sort the posts in Ascending or Descending order. Likewise, you can choose the number of posts to be displayed.
Moreover, you can also exclude the specific category to be displayed.
Image #
- Hover Animation – It adds the animation effect while the featured image is being hovered on your end.
Post Title #
The options work for the post title of the Banner Posts 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 – H6.
Header Meta #
It refers to the metadata appearing in the header area of each post. Currenlty, the post category is displayed as the header meta and comes with the following option:
- Category – Switch the Toggle to the right area to enable the category. Enabling the option will display the Category on the header area.
Meta #
Meta refers to the metadata displayed over the post, such as Author, Date, etc. With the Banner Posts block, you’ll get the Author and Date meta below the post title, which comes with the following customization options:
- Position – It allows changing the position of Meta. You can display the Meta above or below the post title.
- Author – Switch the Toggle to the right area to enable the Author. Enabling the option will display the Author’s name and icon.
- Date – Switch the Toggle to the right area to enable the Date.
Excerpt #
An Excerpt is a summary or brief description of a post that provides readers with a quick overview of the content, allowing them to decide whether they want to read more. The Excerpt displays below the meta with the following options;
- Enable – Switch the Toggle to the right area to enable the Excerpt. Enabling the option will display the Excerpt text on your end.
- Limit – By default, the banner posts blocks limit excerpts’ length upto 20 words. You can increase or decrease the excerpt length on your preference.
Read More #
The Banner Posts Block allows displaying the Read More tag on the post. Clicking the read more button will display the full contents of your post. It comes with the following options:
- Enable – Switch the Toggle to the right area to enable the Read More. Enabling the option will display the Read More tag below the excerpt text.
- Text – It allows you to change the Read More Label. By default, the label is read more, which can be changed.
Pagination #
Pagination is a way of splitting the contents of your site into multiple pages. Banner Posts Block allows Pagination on the site with the options listed below:
- Enable – Switch the Toggle to the right area to enable the Pagination on your site. Enabling the option will display the Pagination below the page.
- Alignment – It sets the alignments for the Pagination. You can set the alignments as Left, Center, and Right. Moreover, you can also set the pagination position on different devices (Desktop, Tablet, and Mobile).
Style #
Under the style option, you’ll find the following options available:
General #
- Gap– It refers to the space between the posts displayed on your site. You can enter a number straight into the field or use the slider to change the gap value in pixels. Moreover, you can set the gap value to be different on various devices (Desktop, Tablet, and Mobile).
Image #
It adds the animation effect while the featured image is being loaded on your end.
Highlighted Post #
The Highlighted post in the Banner Posts Block refers to the first post with bigger featured images and other content. It comes with the following options for customization:
- Typography – It allows you to control the Highlighted Post Title Typography, such as Font Family, Weight, Font size, Line height, and other related styling properties. The options are listed below:
- Font Family – The option allows you to choose the appropriate Font Family for the post title.
- Weight – It refers to the thickness or boldness of the post title.
- Size – It controls the font size of the post title.
- Line Height – It manages the space above and below the post title.
- Letter Spacing – It controls the amount of space between characters in the post title.
- Style – Using the property, you can set the post title 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 post title to make it more visually appealing. The options include underline, overline, and line through.
Post Box #
The Post Box refers to the area of each individual post that gets displayed. It comes with the following options listed below:
- Height – It determines the height of each individual post. You can enter a number straight into the field or use the slider to change the gap value in pixels. Moreover, you can set the gap value to be different on various devices (Desktop, Tablet, and Mobile).
- Radius – It sets the curve on the corners of each individual post box.
Post Title #
The options work for the post title of the Banner Posts block and provide the following options:
- Text Color – It allows you to change the color of the post title on Normal and Hover Mode.
- Typography – It controls the Post title Font Family, Weight, and Font Size.
Header Meta #
- Text Color – It allows you to change the color of the Meta text in Normal and Hover modes.
- Background – It sets the background color for the Header Meta. You can change the visual appearance of the background by changing its color or adding an image. Moreover, you can set the different background colors on Normal and Hover Modes.
- Padding – It adjusts the space of header meta elements.
- Border – It customizes the Border area added around the Header Meta and comes with the following options:
- Type – You can set the border type as Solid, Dotted, Dashed, Double, etc. Moreover, select the border type to be None if you do not want to add any borders for the header meta.
When you select none, you will be given the following option:
- Radius – It allows you to fix the radius value to make the round corners for the column border.
- Box Shadow – When you enable the Box Shadow option, you will get the following customization options:
- Color – It allows you to select the appropriate box-shadow color for the meta area.
- Horizontal-X – It displays the box shadows in the horizontal position.
- Horizontal-Y – It displays the box shadows in the vertical position.
- Blur – You can set up the blur value of the box shadows appearing.
- Spread – The shadow’s spread value represents the distance to expand or contract a shadow in all directions. You can change the spread value according to the site’s requirements.
- Position – You can set the position of the box shadows as Inset or Outline.
However, if you select the border type to be other than none, two more options will be added. The option is listed below:
- Border Color – It allows you to choose the appropriate color for the border.
- Size – It provides the option to select the border size.
Note – You can apply the border settings option differently for Normal and Hover Modes.
Meta #
- Icon Color– It allows changing the icon’s color representing the metadata.
- Link Color– It allows changing the color of the link representing the metadata. You can change the link color in Normal and Hover modes.
Excerpt #
- Text Color– It allows you to set the Excerpt Text color.
- Margin– It manages the margin value of the excerpt text.
Read More #
- Text Color– It allows you to change the color of the Read More label on Normal and Hover Mode.
- Background– It allows you to add the background for the Read More Tag. You can add an image or use the color to set the background.
- Spacing– It manages the spaces in between the content appearing above the Read More tag.
- Padding– It sets the padding value for the Read More Tag.
- Border– It customizes the Border area added around the Read More Tag.
Pagination #
- Text Color– It allows you to change the color of the pagination on Normal and Hover Mode.
- Background– It allows you to add the background for the Pagination. You can add an image or use the color to set the background.
- Padding– It sets the padding value for the Pagination.
- Border– It customizes the Border area added around the Pagination.
Advanced #
The Advanced section consists of four options for the Banner Posts 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 Banner Posts block on the Desktop.
- Hide on Tablet – It hides the Banner Posts block on Tablet.
- Hide on Mobile – It hides the Banner Posts 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 banner-posts-width to the Additional CSS Class field. After that, visit your CSS editor and write a style for the class as below:
.banner-posts-width{
width:70%
}
Upon adding the code, it will make the changes only to this particular Banner Posts block and not other blocks.