[Resolved] changing/modify text inside widget

Home Forums Support changing/modify text inside widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #982167
    generatepressuser

    Hello

    I have a widget where you can filter the price range as I have in my sidebar, there is also the text: “Preis:” before the amount. Is it possible to remove that text/label?

    I tried many, many kind of code but it does not work. This is the last method I tried, didnt work either:

    aside#woocommerce_price_filter-5.widget.inner-padding.woocommerce.widget_price_filter form > div.price_slider_wrapper div.price_slider_amount div.price_label > #text {
    display:none;
    }

    Thank you for any suggestions.

    Regards

    #982180
    David
    Staff
    Customer Support

    Hi there,

    Try this CSS

    /* Make entire element invisible */
    .woocommerce .widget_price_filter .price_label {
        font-size: 0;
    }
    /* Just display the spans */
    .woocommerce .widget_price_filter .price_label span {
        font-size: 16px;
    }
    /* Add in the long dash between spans */
    .woocommerce .widget_price_filter .price_label span:first-child:after {
        content: '\2014';
        margin: 0 1em;
    }
    #982204
    generatepressuser

    Hello,

    This worked perfectly, obviously its not that easy as I thought ^^

    Thank you!

    #982225
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.