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

Viewing 15 posts - 1 through 15 (of 25 total)
  • Posted in: Atelier
  • #278771
    kushalkamra
    Member
    Post count: 99

    Hi,

    I want to specify a colour for all the URL’s in a product/post/category-page body’s text. I understand that we can make this using setting in Appearance->Themes->Customise->Color – General-> Link text and Link Hover, but if I change these then all the colours of links on website change including product name on category pages, etc.. These links look good in their current grey colour but I want URL’s in website post/product page text body to stand out with a different colour such as blue. Please advice how to achieve this.

    Thanks

    #278928
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Do you want to change the link color for single detail post and single detail product?
    Thanks
    Mohammad

    #278964
    kushalkamra
    Member
    Post count: 99

    Hi Mohammad,

    I want the colour of links in all the posts and products to change as a single preset colour by default.

    Thanks

    #278990
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific post / product page url with links text.
    Thanks
    Mohammad

    #279002
    kushalkamra
    Member
    Post count: 99

    Hi,

    https://mydhaba.in/benefits-medicinal-properties-superfood-wheatgrass/

    This post has the links at the end under title “Wheatgrass products that you can buy at MyDhaba.in”

    Thanks

    #279072
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .single-post .page-content a{
    color:#ff0000 !important
    }

    Thanks
    Mohammad

    #279087
    kushalkamra
    Member
    Post count: 99

    Hi Mohammad,

    I’ve attached a screenshot. As you can see I’ve marked all the links the colour of which has been changed. Red ones are the ones which I do not want to change, while I’ve marked the ones I want to change in Yellow. Further I also want the colour to change when hovering over URL.

    Please advice

    Thanks

    Thanks,
    Kushal

    Attachments:
    You must be logged in to view attached files.
    #279147
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove the last code and use this new code:-

    .single-post .page-content .content-wrap a{
    color:#ff0000 !important
    }
    
    .single-post .page-content .content-wrap a:hover{
    color:#000 !important
    }
    
    .single-post .post-aux-wrap a{
    color:#000 !important
    }
    
    .single-post .post-aux-wrap a:hover{
    color:#ff0000 !important
    }

    Thanks
    Mohammad

    #279246
    kushalkamra
    Member
    Post count: 99

    Hi Mohammad,

    I’ve tried the updated code, it does change colour of link and on hover also. But it still has changed colour of some elements that I’ve marked as red in earlier screenshot and those don’t need their colour changed.

    Thanks

    #279262
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove my last code and use this new code:-

    .single-post .page-content .content-wrap a{
    color:#ff0000 !important
    }
    
    .single-post .page-content .content-wrap a:hover{
    color:#000 !important
    }

    Thanks
    Mohammad

    #280222
    kushalkamra
    Member
    Post count: 99

    Hi Mohammad,

    This code is working same as before. Some links on page have their colour changed, but I only want to define the colour of links in text of posts.

    Thanks

    #280316
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to debug and resolve the issue easily.
    Thanks
    Mohammad

    #280324
    kushalkamra
    Member
    Post count: 99
    This reply has been marked as private.
    #280656
    David Martin – Support
    Moderator
    Post count: 20834

    Have assigned to Mohammad and he will assist you shortly.

    Thanks.

    #282171
    kushalkamra
    Member
    Post count: 99

    Hi Mohammad/David,

    Is there any update on this ? Further I need this for content in 3 post types that exist in my case
    1> Regular WordPress Post Type
    2> Recipe Post Type
    3> Product Post Type

    Would appreciate quick resolution to this.

    Thanks

Viewing 15 posts - 1 through 15 (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