Add a Full-Width Line Behind the Read More Button

CSS - WpScriptly

Enhance your archive pages with a sleek, full-width line behind the “Read More” button using this straightforward CSS hack. Simply insert the following CSS snippet into your preferred code snippet manager or the theme’s additional CSS section

*This coding is for Kadence themes only.

I use fluent snippet plugin for all my functions, js, and CSS:


/* read more */ .kadence-svg-iconset {
    display: none!important;
} {
    top: -12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: capitalize;
    text-decoration: none;
    color: #718096!important;
    font-size: 14px!important;
    padding: 5px 15px;
    border: 0px solid #ebebeb;
    border-color: #718096!important;
.entry-footer {
    text-align: center;
.entry-footer::before {
    display: table;
    content: '';
    position: relative;
    top: 21px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #718096;
    z-index: 2!important;
  1. I’ve included a border but turned it off from showing on the read more button. in this line: border: 0px solid #ebebeb;

in the


In this section you will might need to center the line in the center of the read more button.

.entry-footer::before -> top:21pxx
and in the ->top: -12px

In the 

You can play with the padding 

also u will need to set a color for the background of the button to fit your theme in the

 also you can change the color of the line as well in the 

.entry-footer::before -> background:#333

Enjoy and always AS IS


Wp Scriptly

This basic script, CSS style, and plugin are designed to function optimally assuming minimal interference from your theme or other plugins. If conflicts occur or further customization is needed, additional adjustments may be necessary. Please note that this script, CSS style, or plugin must be used AS IS.

Wp Scriptly

The WpScriptly Monthly newsletter offers top insights for WordPress pros: new scripts, plugins, resources, tips, tools, updates, and more every month.

Sidebar Subscribe