Perfecting WordPress Text Content Formatting

9 months 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

Popup

< 1 min read

How to Limit Popup Height

Use this CSS to limit the height of your popups. It also works on containers.

Read more

Container

< 1 min read

Make Container Scrollable

Add this on the column’s custom CSS panel. Adjust the ‘max-height’ to your needs.

Read more

Video

< 1 min read

Elementor Custom Video Lightbox CSS

Add this code on Appearance Customize > Additional CSS :

Read more

Video

3 min read

YotuWP Plugin: Custom CSS

Go to Dashboard > Appearance > Customize and add this custom CSS. LIGHT MODE CSS DARK MODE CSS

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, July 27

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.