Home Forums WoodMart support forum Changing Text Color based on Background Color

Changing Text Color based on Background Color

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #516268

    dadgar
    Participant

    Dear Xtemos Support Team,

    I would like to implement an automatic text color change in the main header based on the background color. Specifically, when the background color is light, I want the text color to be dark, and when the background color is dark, I want the text color to be white.

    If there is a specific file or section within the theme’s code where I can make the necessary modifications, please provide me with guidance or instructions on how to proceed. Any details regarding CSS classes, functions, or variables that I need to utilize would be greatly appreciated.

    I highly value your expertise and assistance in this matter. Thank you in advance for your time and support.

    Best Regards,
    Dadgar

    #516303

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Unfortunately, there is no such ability in our theme. Additional code customizations like that are out of our theme support scope.

    Kind Regards

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