Join our new community forum for support & discussion
Join NowHome › Support › Themes › RentalHive › Additional CSS not working
Additional CSS not working
-
AuthorPosts
-
Felo 9 months ago
Hi, I have noticed some additional CSS (highlighted below) is not working. They only work for a few minutes and then revert back. Could there be a problem with them? Here is also a link to my website;
.hp-listing-categories .hp-row > div .hp-listing-category__count{ display: none !important; } .hp-listing--view-block .hp-listing__categories { display: none; } .hp-listing-category--view-block .hp-listing-category__item-count, .hp-listing-category--view-page .hp-listing-category__item-count { display: none; } .hp-listing--view-block .hp-listing__location {display: none;
Your assistance will be highly appreciated.
Please make sure that you added it into Appearance/Customize/Additional CSS and please replace your code which you have added above in this topic with this code in Appearance/Customize/Additional CSS
.hp-listing--view-block .hp-listing__categories { display: none; } .hp-listing-category--view-block .hp-listing-category__item-count, .hp-listing-category--view-page .hp-listing-category__item-count { display: none; } .hp-listing--view-block .hp-listing__location { display: none; }
Felo 9 months agoHi, sorry to be a bother but nothing has changed even after adding your code in Appearance/Customize/Additional CSS. I have also used a different device and cleared both the WordPress and browser cache but still the same. The item count and location are still being displayed.
Please try to copy the above snippet again, I forgot to add the double dash
Felo 9 months agoThanks for the help but still not working. These are all the CSS snippets I have added so far. Maybe one of them is blocking.
.header-navbar {font-size:18px}.site-content {padding-top:0}
.header-hero {display:none}
.site-footer{
background-color: whitesmoke;
}
.site-footer .widget–footer .widget__title{
font-size: 18px;
}
.header-hero,
.header-hero__images,
.header-hero__images::before,
.header-navbar:last-child,
.content-block::after,
.content-block::before {
background-image:none!important;
}.content-title::before,
.hp-page__title::before,
.hp-section__title::before,
.hp-listing–view-page .hp-listing__title::before {
display:none;
}.content-title,
.hp-page__title,
.hp-section__title,
.hp-listing–view-page .hp-listing__title {
padding-top:0;
}.site-content {padding-top:0}
.site-content {padding-bottom:05}
<?php } );.site-content {padding-bottom:0}
.hp-vendor__footer, .hp-vendor__attributes–primary {display:none!important}
.hp-vendor__registered-date {display:none}
.hp-field__label {color:black!important}
.hp-listing-category–view-block .hp-listing-category__item-count,
.hp-listing-category–view-page .hp-listing-category__item-count {
display: none;
}.hp-listing–view-block .hp-listing__location {
display: none;
}.hp-template–listing-view-page .hp-menu–listing-manage li{
font-size: 18px; !important;color:#000000
}.hp-template–listing-view-page .hp-listing__title{
font-size: 35px; !important;color:#000000
}If it doesn’t work I will just have to do with item count and location being displayed.
Please try to replace it with your CSS code in Appearance/Customize/Additional CSS
.header-navbar { font-size:18px; } .site-content { padding-top: 0; padding-bottom: 0.5px; } .header-hero { display:none; } .site-footer{ background-color: whitesmoke; } .site-footer .widget--footer .widget__title{ font-size: 18px; } .header-hero, .header-hero__images, .header-hero__images::before, .header-navbar:last-child, .content-block::after, .content-block::before { background-image:none !important; } .content-title::before, .hp-page__title::before, .hp-section__title::before, .hp-listing--view-page .hp-listing__title::before { display: none; } .content-title, .hp-page__title, .hp-section__title, .hp-listing--view-page .hp-listing__title { padding-top:0; } .hp-vendor__footer, .hp-vendor__attributes--primary { display:none!important; } .hp-vendor__registered-date { display:none; } .hp-field__label { color:black !important; } .hp-listing-category--view-block .hp-listing-category__item-count, .hp-listing-category--view-page .hp-listing-category__item-count { display: none; } .hp-listing--view-block .hp-listing__location { display: none; } .hp-template--listing-view-page .hp-menu--listing-manage li{ font-size: 18px !important; color: #000000; } .hp-template--listing-view-page .hp-listing__title{ font-size: 35px !important; color: #000000; }
Felo 9 months agoIt has finally worked. Thank you very much
-
AuthorPosts
New Reply
This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.