remove Discover button

This commit is contained in:
2025-07-14 21:28:26 -07:00
parent c11d3aa945
commit c6bb1b7c7b
4 changed files with 13 additions and 24 deletions

View File

@@ -32,7 +32,7 @@ if ( ! function_exists( 'sophia_after_dark_dynamic_styles' ) ) :
}
}
$output_css .= "a,a:hover,a:focus,a:active,.entry-cat .cat-links a:hover,.entry-cat a:hover,.entry-footer a:hover,.comment-author .fn .url:hover,.commentmetadata .comment-edit-link, #cancel-comment-reply-link, #cancel-comment-reply-link:before, .logged-in-as a,.widget a:hover, .widget a:hover::before, .widget li:hover::before,.sad-social-icon-wrap li a:hover,.sad-social-icon-wrap li a:focus,#site-navigation ul li:hover>a,#site-navigation ul li.current-menu-item>a,#site-navigation ul li.current_page_ancestor>a,#site-navigation ul li.current-menu-ancestor>a,#site-navigation ul li.current_page_item>a,#site-navigation ul li.current-menu-parent>a,#site-navigation ul li.focus>a,.banner-sub-title,.entry-title a:hover,.cat-links a:hover,.entry-footer .sad-readmore-btn:hover,.btn-wrapper a:hover,.sad-readmore-btn:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover,#footer-menu li a:hover,.sophia_after_dark_latest_posts .sad-post-title a:hover,#sad-scrollup:hover,.menu-toggle:hover, #top-navigation ul li a:hover,.sad-search-icon:hover, .entry-meta a:hover, .front-slider-block .banner-title a:hover, .post-info-wrap .entry-meta a:hover, .single .sad-single-related-posts .entry-title a:hover, .breadcrumbs .trail-items li a:hover, .wrap-label i,.has-thumbnail .post-info-wrap .entry-title a:hover,.front-slider-block .post-info-wrap .entry-title a:hover,#top-footer a:hover{ color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
$output_css .= "a,a:hover,a:focus,a:active,.entry-cat .cat-links a:hover,.entry-cat a:hover,.entry-footer a:hover,.comment-author .fn .url:hover,.commentmetadata .comment-edit-link, #cancel-comment-reply-link, #cancel-comment-reply-link:before, .logged-in-as a,.widget a:hover, .widget a:hover::before, .widget li:hover::before,.sad-social-icon-wrap li a:hover,.sad-social-icon-wrap li a:focus,#site-navigation ul li:hover>a,#site-navigation ul li.current-menu-item>a,#site-navigation ul li.current_page_ancestor>a,#site-navigation ul li.current-menu-ancestor>a,#site-navigation ul li.current_page_item>a,#site-navigation ul li.current-menu-parent>a,#site-navigation ul li.focus>a,.banner-sub-title,.entry-title a:hover,.cat-links a:hover,.btn-wrapper a:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover,#footer-menu li a:hover,.sophia_after_dark_latest_posts .sad-post-title a:hover,#sad-scrollup:hover,.menu-toggle:hover, #top-navigation ul li a:hover,.sad-search-icon:hover, .entry-meta a:hover, .front-slider-block .banner-title a:hover, .post-info-wrap .entry-meta a:hover, .single .sad-single-related-posts .entry-title a:hover, .breadcrumbs .trail-items li a:hover, .wrap-label i,.has-thumbnail .post-info-wrap .entry-title a:hover,.front-slider-block .post-info-wrap .entry-title a:hover,#top-footer a:hover{ color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
$output_css .= ".widget_search .search-submit,.widget_search .search-submit:hover,.navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover, .error-404.not-found, .sophia_after_dark_social_media a:hover, .custom-header,.widget_tag_cloud .tagcloud a:hover,.widget.widget_tag_cloud a:hover { border-color: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
$output_css .= ".front-slider-block .lSAction > a:hover, .top-featured-post-wrap .post-thumbnail .post-number, .post-cats-list a, #site-navigation .menu-item-description, article .post-thumbnail::before, #secondary .widget .widget-title::before, .sad-related-post-title::before, #colophon .widget .widget-title::before, .features-post-title::before, .sad-menu-search .sad-form-wrap .search-form .search-submit,.sad-live-link a,.widget_tag_cloud .tagcloud a:hover,.widget.widget_tag_cloud a:hover { background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";
$output_css .= ".edit-link .post-edit-link,.reply .comment-reply-link,.widget_search .search-submit, .sad-menu-search .sad-form-wrap .search-form .search-submit:hover, article.sticky::before{ background: ". esc_attr( $sophia_after_dark_primary_color ) ."}\n";

View File

@@ -104,7 +104,6 @@ if ( ! function_exists( 'sophia_after_dark_entry_footer' ) ) :
$sophia_after_dark_archive_read_more = get_theme_mod( 'sophia_after_dark_archive_read_more', __( 'Discover', 'sophia-after-dark' ) );
?>
<a href="<?php the_permalink(); ?>" class="sad-readmore-btn"><?php echo esc_html( $sophia_after_dark_archive_read_more ); ?> <i class="fa fa-long-arrow-right"> </i></a>
<?php
}

View File

@@ -409,7 +409,7 @@ body.site-layout--boxed{
right: 0;
}
.entry-footer .sad-readmore-btn i, .btn-wrapper a i , .sad-readmore-btn i{
.btn-wrapper a i {
margin-right: 5px;
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
@@ -417,7 +417,7 @@ body.site-layout--boxed{
transform: rotate(180deg);
}
.entry-footer .sad-readmore-btn:hover i, .btn-wrapper a:hover i, .sad-readmore-btn:hover i{
.btn-wrapper a:hover i {
margin-right: 10px;
}

View File

@@ -1,9 +1,9 @@
/*!
/*!
Theme Name: Sophia After Dark
Author: Sophia Atkinson, Mystery Themes
Author URI: https://sophia.wtf
Description: Sophia After Dark is a page builder based and colorful free blog style WordPress theme fit for writers and bloggers. With the help of live customizer option makes your site own and present your content in an attractive way. It comes up with an amazing creative blog layouts, fully RTL and translation ready, and also compatible with Gutenberg. The theme works perfectly with Elementor that helps to create a beautiful and unique website faster. As its name suggests, it added staggering variety of color and makes your site attractive and elegant.
Version: 1.5.0
Version: 1.5.1
Requires at least: 4.7
Tested up to: 6.8.1
Requires PHP: 5.2.4
@@ -2453,37 +2453,32 @@ article {
margin: 0;
}
.entry-content p {
margin-bottom: 0px;
}
.entry-content a {
text-decoration: underline;
}
.entry-footer .sad-readmore-btn,
.btn-wrapper a,
.sad-readmore-btn {
.btn-wrapper a{
display: inline-block;
padding: 0;
font-size: 14px;
color: #dfdfdf;
}
.entry-footer .sad-readmore-btn i,
.btn-wrapper a i,
.sad-readmore-btn i {
.btn-wrapper a i {
margin-left: 5px;
-webkit-transition: 0.3s ease;
-o-transition: 0.3s ease;
transition: 0.3s ease;
}
.entry-footer .sad-readmore-btn:hover,
.btn-wrapper a:hover,
.sad-readmore-btn:hover {
.btn-wrapper a:hover {
color: #F5A9B8;
}
.entry-footer .sad-readmore-btn:hover i,
.btn-wrapper a:hover i,
.sad-readmore-btn:hover i {
.btn-wrapper a:hover i {
margin-left: 10px;
}
@@ -3012,11 +3007,6 @@ sophia-after-dark Widget CSS
padding: 0;
}
.sad-latest-posts-wrapper .sad-readmore-btn {
margin: 0;
font-size: 13px;
}
.sad-latest-posts-wrapper .tags-links {
display: none;
}