Padding for Text Selection Highlight

  • Posted in : Read WP
  • Jack C.
    Participant

    Dear Pixelwars,

    I hope this message finds you well.

    Before I get to my question, I just want to say thank you for creating such an awesome theme. (:

    I have a question regarding the padding for the text selection highlight on Read WP.

    Currently, the text selection is highlighting too much area. I only want it to highlight the text in the paragraph. I don’t want it to highlight the white space to the right and to the left of the paragraph.

    Is there a way to remove the extra padding for the text selection highlight? What can I add to the style.css file for my child theme to remove the extra padding?

    To help you understand what I’m talking about, I created this screenshot. I circled the extra padding in red. I only want the text in the blue box to be highlighted when I select text.

    Last but not least, thank you for your time and consideration.  I look forward to hearing back from you!

    Cheers,
    Jack

    serkan
    Moderator

    Hi Jack,
    Thank you for your nice words and feedback. Could you provide me your related url and i will try to do my best.
    Thanks

    Jack C.
    Participant

    Hi Serkan,

    You’re welcome. (:

    My site is currently in local development. However, I noticed that this padding issue only happens in Safari. If you open this web page on your live demo in Safari and highlight some text on this page, you’ll see what I’m talking about.

    Thank you so much for your help. I wish you the best of luck in resolving this issue, and I hope to hear from you soon!

    Cheers,
    Jack

    serkan
    Moderator

    Hi Jack,
    This bug is related with safari browser and there is not any solution in the web.
    If you want to disable the selection feature, i can give you the solution. But it will disable in all browsers.
    Thanks

    Jack C.
    Participant

    Hi Serkan,

    I see. No worries then since it’s just a bug in Safari.

    Thank you so much for your help in looking into this issue! Keep up the awesome work! (:

    Cheers,
    Jack

    serkan
    Moderator

    Hi Jack,
    Thanks and good luck :)

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

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

License required for the following item
Login and Registration Log in · Register