New Landing How can we help? Atelier Colour for URL link's in post/product body text

Viewing 10 posts - 16 through 25 (of 25 total)
  • Posted in: Atelier
  • #282176
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .single-post .page-content .content-wrap strong a {
        color: yellow !important;
    }

    Thanks
    Mohammad

    #282287
    kushalkamra
    Member
    Post count: 99

    Thanks Mohammad,

    This is working on a post as expected, but did not work for Recipe post type(eg:- https://mydhaba.in/recipe/banana-chips-recipe/) and Product post type (eg:- https://mydhaba.in/shop/herbal-supplements/flexibility-60-capsules-organic-india/)

    Please guide with further changes.

    #282289
    David Martin – Support
    Moderator
    Post count: 20834

    You can copy the above CSS and replace .single-post with .single-recipe and again for .single-product.

    #282295
    kushalkamra
    Member
    Post count: 99

    It did not work for both recipe and product with these additions, I’ve cleared cache before testing.

    #282328
    David Martin – Support
    Moderator
    Post count: 20834

    The above code is only for links with bold formatting. A general a link would look like this

    .single-recipe .page-content .content-wrap strong a {
    color: yellow !important;
    }

    You need to remove your hard coded inline styles:

    #282410
    kushalkamra
    Member
    Post count: 99

    Thanks David and Mohammad,

    Changing colour just for bold URL’s will work fine with me. The code works well for .single-post and .single-recipe but does not work in case of .single-product

    Can you take a look.
    Thanks

    #282423
    David Martin – Support
    Moderator
    Post count: 20834

    For your single product page, please test this:

    .single-product .product-short a,
    .woocommerce div.product .woocommerce-tabs .panel a {
        color: yellow !important;
    }
    #282427
    kushalkamra
    Member
    Post count: 99

    Thanks David,

    It is working good now.

    #282435
    David Martin – Support
    Moderator
    Post count: 20834

    Great, anytime.

    Thanks.

    #282437
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great thanks to David 🙂 .
    Mohammad

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register