Skip to content

Instantly share code, notes, and snippets.

@samar241
samar241 / gist:e0ca3784192cfffce8ad310cee1b2b2a
Created June 6, 2019 07:17
Styling the Post meta and Read More Button
.published{
text-transform: none;
font-weight:700
}
.by{
text-transform: none;
font-weight:700
}
.post-meta a {
font-size: 15px;
@samar241
samar241 / gist:3d3dfde3033af85031f7c24266811584
Last active June 6, 2019 07:09
Add a 3coulmn layout and shadow and hover shadow to blog posts in archive and search result pages to make it look nice.
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
display: none;
}
.search #left-area,
.archive #left-area {
width: 100%;
@samar241
samar241 / CSS
Created May 28, 2019 10:04
Change-menu-item-color-on-Archive-Search-Result-Single-post-and-404-Page.
/* Main Header Adjustments */
.single-post #et-top-navigation nav>ul>li>a {
color: #09c384;
}
.archive #et-top-navigation nav>ul>li>a {
color: #09c384;
}
.search #et-top-navigation nav>ul>li>a {
color: #09c384;