Additional CSS on WordPress Customization

2 years ago

< 1 min read

Posted by:

Focus

Subscribe to newsletter

By subscribing you agree to with our Privacy Policy.

Share

To improve your site a bit, add this basic CSS to each one you create. Customizing the scroll bar, the default button style for WordPress, and the elipsis on the Elementor excerpt are all included.


@media only screen
and (min-device-width: 767px)
{
/* width */
::-webkit-scrollbar {
  width: 18px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #F0F0F0;

}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
	border-radius: 9px;
box-shadow: inset 0 0 10px 10px #C1C1C1;
    border: solid 4px #F0F0F0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #e5e5e5;
	box-shadow: inset 0 0 10px 10px #B1B1B1;
    border: solid 4px #F0F0F0;
}
}


/* Elementor Posts: Add Ellipsis on Excerpts */

.elementor-post__excerpt p:after{
content: "...";
}

/* WordPress Default Button Styling */

.wp-block-button {padding-bottom: 25px; padding-top: 10px;}

a.wp-block-button__link.wp-element-button {background-color: #63B367; color: #fff;  font-size: 16px; font-weight: 500; box-shadow: 0px 3px 5px #d3d3d3; border-radius: 5px}

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

Troubleshoot

< 1 min read

How to Fix Whatsapp Share Line Break Missing (Elementor Share Widget)

A bug found on the share widget (last checked on Elementor Pro version 3.6.4) where there is no line break

Read more

Header

< 1 min read

Header Padding: Conditional HTML

If you want to have conditional padding for your header, give your header the CSS class .mainheader and add an

Read more

Media Carousel

< 1 min read

Media Carousel Random Order

Add this code in HTML widget to randomize the ‘Media Carousel’ order.

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, August 29

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.