This CSS Code You Can use In Your Generate Press Theme Customization Additional CSS
/* Heading styles for Digital Megha */
.entry-content h2, h3, h4, h5, h6 {
font-weight: 500;
padding: 10px 10px 10px 25px;
background-image: linear-gradient(to right, #2c3e50 0%, #2c3e50 51%, #2c3e50 100%);
border-radius: 10px;
color: #fff !important;
box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px;
}
.widget-title {
font-weight: 500;
padding: 10px 10px 10px 25px;
background-image: linear-gradient(to right, #2c3e50 0%, #2c3e50 51%, #2c3e50 100%);
border-radius: 10px;
color: #fff !important;
box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px;
text-align: center;
}
/* Recent posts widget thumbnail styling */
#rpwwt-recent-posts-widget-with-thumbnails-2 img {
width: 50px;
height: 50px;
}
.rpwwt-widget ul li img {
display: inline;
float: left;
margin: 0.3em 0.75em 0.75em 0;
}
.rpwwt-widget img {
border-radius: 4px;
}
img {
height: auto;
max-width: 100%;
}
/* Search button styling */
.wp-block-search__button {
background: linear-gradient(to right, #2c3e50 0%, #2c3e50 51%, #2c3e50 100%);
border-radius: 10px;
font-size: 14px !important;
padding: 8px 20px !important;
text-align: center;
color: #fff !important;
box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px !important;
}
/* Button styling */
button, input[type=button], input[type=reset], input[type=submit] {
background-image: linear-gradient(to right, #2c3e50 0%, #2c3e50 51%, #2c3e50 100%);
color: #fff;
border: 1px solid transparent;
cursor: pointer;
padding: 10px 20px;
border-radius: 10px;
}
/* Author box styling for Digital Megha */
.digital-megha-author-box {
padding: 3%;
margin-top: 30px;
font-size: 0.9em;
background-color: #fff;
display: flex;
align-items: center;
box-shadow: rgba(23, 43, 99, 0.3) 0 2px 10px;
border-radius: 25px;
}
.digital-megha-author-box .avatar {
width: 250px;
height: auto;
border-radius: 100%;
margin-right: 30px;
}
.author-title {
font-weight: bold;
font-size: 18px;
margin-bottom: 0.1em;
}
.author-description {
font-size: 16px;
line-height: 1.6em;
}
.author-links a {
font-size: 14px;
font-weight: bold;
color: #2c3e50;
float: left;
}
/* Social share floating design */
.digital-megha-social-wrapper {
position: fixed;
top: 50%;
transform: translateY(-50%);
z-index: 9999;
}
.digital-megha-social-sharing {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 14px 10px;
}
.digital-megha-social-facebook {
background-color: #2c3e50;
fill: #fff;
}
.digital-megha-social-facebook:hover {
background-color: #2c3e50;
}
.digital-megha-social-twitter {
background-color: #2c3e50;
fill: #fff;
}
.digital-megha-social-twitter:hover {
background-color: #2c3e50;
}
/* After-post social share styling */
.digital-megha-social-wrapper-after {
margin: 30px 0;
}
.digital-megha-social-sharing {
padding: 7px 20px;
font-size: 17px;
}
For Author Box Code and CSS
WordPress Blog में Author Box कैसे बनाये ? How to Add Author Box in WordPress Blog ?