CSS dont change

This topic contains 6 replies, has 3 voices, and was last updated by  Kor 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #513913

    Alessandro Ritondale
    Free User
    Post count: 16

    Hi
    I need to modify the css, I modify it is saved and changed correctly, but in the front-end it continues to appear with the old settings.
    The file in question is wp-content/plugins/geodirectory/assets/css/partials/_listing.scss

    The code to be modified is the following

    body ul.geodir-category-list-view>li {
        margin: 0;
        padding: 20px 0 0 0 !important;}
    

    I modified the file directly, created a custom css,
    I emptied the cache, I don’t have caching programs, but there’s no way I can set the padding differently.

    Why ?

    Tnks

    #513929

    Alex Rollin
    Moderator
    Post count: 27815

    Modifications to plugin and theme files will be overwritten during update.

    Add your custom CSS to override the defaults in to the Customizer

    WP Backend – Appearance – Customizer – Additional CSS

    #513971

    Alessandro Ritondale
    Free User
    Post count: 16

    Hi
    I had already done it, but still doesn’t take my customization.
    Check this page

    https://bimbisiparte.rankingweb.it/family-hotel-lombardia/ and in html code search this

    <li class="post-33 gd_place type-gd_place status-publish has-post-thumbnail entry" data-post-id="33">
    	<div class="gd-list-item-left ">
    
    <div class="geodir-post-slider">			<div class="geodir-image-container geodir-image-sizes-medium_large ">
    								<div id="geodir_images_5dacb9210b7db_33" class="geodir-image-wrapper" data-controlnav="1">
    					<ul class="geodir-post-image geodir-images clearfix">
  • image-2
  • </div> </div> </div> </div> <div class="gd-list-item-right "> <div class="geodir-post-title"> <h3 class="geodir-entry-title"> Test </h3> </div> <div class="geodir-post-address-container"><div class="geodir_post_meta geodir-text-alignleft geodir-alignleft geodir-field-address"><span itemprop="addressRegion">Piemonte</span></div></div> <div class="geodir-post-fav"><div class="geodir_post_meta gd-fav-info-wrap gd-align-right gd-lv-s-2 "> <span class="gd-list-favorite"> <span class="geodir-addtofav favorite_property_33"><i class="fas fa-heart"></i> <span class="geodir-fav-text">Elimina dai preferiti</span> </span> </span> </div></div> <div class="geodir-post-content-container"><div class="geodir_post_meta geodir-field-post_content" style="max-height:220px;overflow:hidden;">testo descr Read more...</div></div> </div>

    After see the css

    body ul.geodir-category-list-view>li

    Tnks

    #513985

    Alessandro Ritondale
    Free User
    Post count: 16
    This reply has been marked as private.
    #514004

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. You can use the custom CSS code below.

    body.page-template-default ul.geodir-category-list-view>li {
        padding-top: 0px !important;
    }
    #514021

    Alessandro Ritondale
    Free User
    Post count: 16

    Tnks Kor
    Now found good 🙂
    Regards

    #514043

    Kor
    Moderator
    Post count: 16516

    Alright then, let us know if you need anything further.

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket