There are several ways to brand posts appear this way. An selection would live to work the Read to a greater extent than script to display a summary of the posts as well as add together a conditional tag to add together a unlike mode on the maiden of all post hence that it volition bring a larger width than the older posts. So , this tutorial volition present y’all how to practise a magazine mode for a Blogger Template. By next this tutorial , y’all tin brand your tiresome as well as elementary Blogger template bring an attractive magazine mode layout.
To run into how it looks , delight view this demo blog.
Adding the Magazine/Newspaper mode to a Blogger Template
Step 1. Before proceeding farther , delight brand a backup of your electrical flow template to brand certain that y’all won’t lose anything of import – log into your Blogger Dashboard as well as larn to Template , as well as hence click on the Backup/Restore button. After you’ve got a re-create of the xml template , click on the Edit HTML button:
Step 2. Click anywhere within the code expanse as well as search past times using CTRL + F keys for this line:
Note: You’ll notice it to a greater extent than than ane fourth dimension , but terminate at the 2nd ane inwards lodge to run into the changes.
Step 3. Remove that business as well as instead of it add together this code:
Note: y’all tin supersede the Read More text , past times changing the code inwards red.
Step 4. Now notice (CTRL + F) this line:
Step 5. Remove this equally good as well as instead of it add together this:
Advertisement. Scroll to continue reading. Advertisement. Scroll to continue reading.
Note: y’all tin modify the Read More text hither also , only supersede the code inwards ruby-red amongst the text that y’all desire to show.
Step 6. Find the tag as well as glue the next script before/above it:
Step 7. And below the script higher upward add together the CSS styles:
Customizing the Magazine Layout
1. At the kickoff of the script from mensuration half dozen , nosotros bring this section:
posts_no_thumb_sum = 290;
posts_thumb_sum = 240;
img_thumb_height = 80;
img_thumb_width = 80;
first_no_thumb_sum = 580;
first_thumb_sum = 450;
img_thumb_height1 = 145;
img_thumb_width1 = 165;
- the maiden of all publish is the publish of characters for the pocket-size posts when at that topographic point volition live no icon available
- the 2nd publish is the publish of characters that volition present when the pocket-size posts volition bring an image
- the tertiary as well as the quaternary business is for the tiptop as well as width of the pocket-size posts thumbnails (images).
- the same goes for what is inwards blueish , but this affects solely the maiden of all post. Since the maiden of all post is wider , it may comprise a larger publish of characters as well as we’ll live able to brand the thumbnail size larger.
2. And finally , nosotros bring the CSS styles. That lastly affair nosotros added is a code that determines how the posts are going to await on the homepage – as well as archive pages equally good , except for the maiden of all post.
To modify the width as well as tiptop , respectively the size for the maiden of all post container , await for these lines:
Underneath the maiden of all post are the values for the other posts , only await for this part:
The width volition ocuppy 46% of the primary column width as well as tiptop is develop to 230px. Here y’all may ask to experiment a fight amongst the sizes inwards lodge to brand them appear correctly.
Finally , develop the publish of posts to present on the homepage , hence that at that topographic point won’t live whatever empty space. Go to Settings > Posts as well as comments > Show at most as well as direct the publish of posts that y’all desire to appear.