Skip to content

Instantly share code, notes, and snippets.

@samar241
samar241 / gist:e0ca3784192cfffce8ad310cee1b2b2a
Created Jun 6, 2019
Styling the Post meta and Read More Button
View gist:e0ca3784192cfffce8ad310cee1b2b2a
.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 Jun 6, 2019
Add a 3coulmn layout and shadow and hover shadow to blog posts in archive and search result pages to make it look nice.
View gist:3d3dfde3033af85031f7c24266811584
/*
* 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
Change-menu-item-color-on-Archive-Search-Result-Single-post-and-404-Page.
View CSS
/* 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;