Add Woocomerce Price Filter in Products Page Only

Solved25 replies3 participantsUpdated by Jack Richardson

  • Avatar: perisweb
    perisweb
    Participant

    Hello,
    I have install legenda and i decide i dont want sidebar in my pages, i manage to deactivate this.
    But now i want to show price filter only in products page, when a user chooce category so in left side to see this widget.

    Can i manage this?
    Thanks a lot

    25 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    If you deactivate the sidebar in your Theme Options you have to switch it back.
    Then go to Appearance -> Widgets and specify there “Price Filter” for Shop Sidebar widget area. And to disable unnecessary widget areas just place in there empty text widget.

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    Thanks i manage this with your help

    One more question, in index page i want to change some css, i manage custom.css and now i want to change Add to Cart or Choose in products-grid.
    I see i should write code about :

    but where is a class for this style? i cant find it in style.css

    i want to remove border around Add to Cart or Choose

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please add this code into your custom.css to remove border:

    .button, button, .coupon .button, input[type="submit"] {
      border: none;
    }

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    thanks a lot

    and how can i put static border around whole product? i dont want when user hover product then to appear the border
    i want static border around image

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please add the following code into the custom.css to add border:

    .products-grid .product {
    border: 1px solid #ebebeb;
    }

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    thanks a lot
    and can i put no space between products grid?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    To remove spaces between products add the following code:

    .products-grid .product {
    margin: none;
    }

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    i see spaces still exists

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please provide us with FTP and admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    Ok i send you

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    I’ve added the following code:
    .products-grid .product {
    margin-left: 0 !important;
    }

    Please check your site now.

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    ok its good
    and if i want no space between 2 product lines, should i put marging-bottom; 0!important;

    Avatar: Eva
    Eva Kemp
    Participant

    Yes, you should use this code:
    .products-grid .product {margin-bottom: 0 !important;}

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    Thank u very much
    i will probably check other css modifications i want and will ask later

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome!
    We’re always ready to help if you have any questions.

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    Hello guys
    one more question
    i want to modify buttons,i manage to modify button in index page like a.product_type_variable:hover and a.product_type_simple:hover

    i now want to change button when user enter in product details and press add to cart , which css should i change?
    i thought it was : single_add_to_cart_button but it doesnt do anything

    thanks a lot

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    The class for “Add to cart” button is: .single-product-page .product-info .button
    For example, .single-product-page .product-info .button {float: left;} makes the button align to the left.
    If you have some difficulties please specify what exactly you want to do with the button.

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    Sorry but i dont see any difference, i want to do something like this that i have manage in index page :

    a.product_type_simple:link {color:white; background-image:url(‘myurl/images/button-apoktiseto.png’);background-repeat: no-repeat;font-size:17px;font-weight:bold;}

    a.product_type_simple:visited {color:white; background-image:url(‘myurl/images/button-apoktiseto.png’);background-repeat: no-repeat;font-size:17px;font-weight:bold;}

    a.product_type_simple:hover {color:white; background-image:url(‘myurl/images/button-apoktiseto.png’);background-repeat: no-repeat;font-size:17px;font-weight:bold;}

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please provide us with wp-admin panel credentials and describe with more details what you want to do with the “add to cart” button on a single product page.
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    I send you details, in custom.css i want to do the same like a.product_type_variable and a.product_type_simple

    you can see that code in custom.css

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Could you please describe what you want to change?
    Do you want to change background/font color and font size of the “add to cart” button?
    Please be more specific.
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: perisweb
    perisweb
    Participant

    The main thing i want to do is to change image in button, i want to put the same as a.product_type_simple:link in custom.css also i want to put another image in hover like a.product_type_simple:hover

    also in same button i want to change color and font size

    but i think i can manage those things when i put the image in this button

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    We’ve made some changes in your custom.css. Is it working fine now? Please check!

    Regards,
    Jack Richardson

    Avatar: perisweb
    perisweb
    Participant

    Hello,
    Thanks a lot, its what i wanted.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

The issue related to '‘Add Woocomerce Price Filter in Products Page Only’' has been successfully resolved, and the topic is now closed for further responses