Perfecting WordPress Text Content Formatting

1 year ago

2 min read

Posted by:

Focus

Subscribe to newsletter

By subscribing you agree to with our Privacy Policy.

Share

If you want to have slightly better but very satisfying content formatting for those who understand content formatting, use the code below and paste it to your text widget CSS on the ‘Blog Post’ template.


selector h1 {
  font-size: 30px;
}

@media only screen and (max-width: 480px) {
  selector h1 {
    font-size: 25px;
  }
}



selector h2, selector h3 {
    font-size: 25px;
}

selector h2 {
    padding-top: 40px;
    padding-bottom: 10px;
    font-weight: bold;
}

@media (max-width: 767px) {
    selector h2, selector h3 {
        font-size: 20px;
    }
}


selector figcaption {
  font-size: 14px;
  font-style: normal;
}


selector .wp-block-image img{
    padding-bottom: 15px;
    padding-top: 15px;
}

And you’ll get this (before):

To this (after):



Here’s another before & after:



After:

Read more

Single Post

< 1 min read

Enhance WordPress Buttons

Optimize your WordPress site with these CSS tweaks. Elevate button aesthetics and code block readability for a better user experience

Read more

Troubleshoot

< 1 min read

How to Fix Favicon Not Showing on WordPress Multisite

In some cases, sub-sites on multisite is not showing the favicon. To assign favicon for each site on WordPress multisite,

Read more

Breakpoints

< 1 min read

Disable Zoom on Mobile Devices (native App Style)

Go to Dashboard > Elementor > Custom Code > Add New Code. This code will disable the abilty to zoom

Read more

Global

2 min read

WordPress Auto-Translate Plugin and How to Disable Google Pop-ups

This plugin helps you translate your website into 104 different languages ​​in just seconds. Simply by installing and activating this plugin,

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, February 20

Hi, there 👋

How can I help you?

Start Chat with:

We use cookie to improve your experience on our site. By using our site you consent cookies.