All About Information Technology

Full width home advertisement

 How to Implement GeneratePress Custom CSS on Your Website

GeneratePress Premium is a very light and Adsense-friendly theme, but this theme does not provide an excellent design for your website.


The official design is standard, but we can modify this from the Additional CSS section.


We have made a premium design for your website using Custom CSS to customize GeneratePress Theme to a better look and feel with SEO and speed optimization.


This is entirely free. You can copy the custom code from here and paste it into your WordPress.


We take care of every minor error. This design is very light and does not affect your website speed.

Steps to GeneratePress Theme Customization


Login to your WordPress dashboard.

Go to Appearance and click on Customization.

Under Customization, scroll down, click on Additional CSS, and paste the given CSS code.

Finally, click on Publish.

Clear your cache and refresh


/*GeneratePress Customization by web insights*/

.page-header-image-single .attachment-full{

box-shadow: rgba(23,43,99,.3) 0 7px 28px;

border-radius:25px;

}

.entry-content h2,h3,h4,h5,h6{

font-weight:600;

padding: 10px 10px 10px 25px;

background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 50%, #1FA2FF 100%);

border-radius:10px;

color:white!important;

box-shadow: rgba(23,43,99,.3) 0 7px 28px;

}

.entry-content h2{

font-size:25px!important;

}

.entry-content h3{

font-size:21px!important;

}

.entry-content h4{

font-size:17px!important;

}

.entry-content h5{

font-size:15px!important;

}

.entry-content h6{

font-size:13px!important;

}

.comment-respond .comment-reply-title{

padding: 10px 10px 10px 25px;

background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 50%, #1FA2FF 100%);

border-radius:10px;

font-weight:600;

color:white!important;

font-size:22px!important;

box-shadow: rgba(23,43,99,.3) 0 7px 28px;

}

/*End of Article Page Design*/

/*Sidebar Universal*/

.widget-title{

padding: 10px 10px;

background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 50%, #1FA2FF 100%);

border-radius:10px;

font-weight:500;

color:white!important;

font-size:18px!important; text-align:center;

box-shadow: rgba(23,43,99,.3) 0 7px 28px;

}

.sidebar .widget {

box-shadow: rgba(23,43,99,.3) 0 6px 18px;

border-radius: 5px;

}

.sidebar .widget:first-child {background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 50%, #1FA2FF 100%)}

.button.light {

background-color: #fff;

border-radius: 50px;

font-weight: 700;

color:#333;

}

.button.light:hover {

background: #333;

color: #fff;

}

/*End of sidebar code*/

/*End of sidebar code*/

@media (min-width: 769px) {

.post-image-aligned-left .post-image img {

margin-top: -20px;

border-radius: 12px;

box-shadow: rgba(23,43,99,.2) 0 7px 28px!important;

}

}

/* Mobile query */

@media (max-width: 768px) {

.post-image-aligned-left .post-image img {

margin-top: -20px;

border-radius: 12px;

box-shadow: rgba(23,43,99,.2) 0 7px 28px!important;

}

}

/* Widget Sticky */

@media (min-width: 769px) {

.site-content {

display: flex;

}

.inside-right-sidebar {

height: 100%;

}

.inside-right-sidebar aside:last-child {

position: -webkit-sticky;

position: sticky;

top: 10px;

}

}

/* Read More button Style */

a.read-more.button {background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%)}

a.read-more.button {

font-size:14px;

padding: 10px 25px;

text-align: center;

transition: 0.5s;

background-size: 200% auto;

color: white;

box-shadow: rgba(23,43,99,.3) 0 7px 28px;

border-radius: 120px;

}

a.read-more.button:hover {

background-position: right center; /* change the direction of the change here */

color: #fff;

text-decoration: none;

}

/* Read More button Style */

blockquote {

background: #dcdcdc54;

border-left: 5px solid #1EA4FF;

padding: 15px;

font-style: inherit;

font-size: 18px;

margin: 0 0 1.5em;

}


All done




If You want to change Color of your website?


First of all select a linear-gradient color online then create code 

background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 50%, #1FA2FF 100%)

Past to line Number :- 13,37,52,66,120. 

After this, you need to change the menu bar color and go to 

Go to Color -> Primary Navigation-> Navigation Color Presets -> Choose the color you want.



Thats All.



No comments:

Post a Comment

Thanks

| Designed by Prabhakar