• Resolved Tamie

    (@tamierp)


    Hello! Love your plugin, but I am having issues matching up colors with the page theme. Your plugin does not pick up on the font/color thing, so it needs to be set on each slide, but you are using some color number system that I do not recognize. Why not use hex like everyone else. What is this system called that you use? How can I convert this to hex? What is the hex for E79D19FF?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ramona

    (@nextend_ramona)

    Hi @tamierp

    We’re definitely using hex colors. The E79D19FF color code is a hex color code. However, we use 8 digit hex color codes, not 6 digit ones what you probably found in your theme.

    The reason behind this is that the 8 digit hext color allows setting the transparency of the color, as the last two charcters of the 8 digit are the alpha colors, which define the transparency:
    https://css-tricks.com/8-digit-hex-codes/

    With 6 digit hex you can’t have transparency, so to be able to use semi-transparent colors, we could either use rgba():
    https://www.w3schools.com/cssref/func_rgba.asp
    or the currently used 8 digit hex. We did not want to mix rgba() and 6 digit hex, because that could possibly cause problems. Also, we didn’t wanted to force users to have to use rgba() as 6 digit hex colors are more common on the web, and it would be rather unformfortable for you to have to convert the hex to rgba() to be able to add your custom colors.

    The E79D19FF code you asked about is:
    – the orangish color, described by the fist 6 digits, E79D19: https://www.color-hex.com/color/e79d19
    – and the FF means that the color is not transparent at all.

    In other words, the E79D19FF 8 digit hex is the exact same color as the E79D19 6 digit hex. They both describe the exact same orangish color with no transparency.

    If you have a 6 digit hex code from your theme, you can just paste that 6 digit color code to any color field, and the system will automatically convert it to the 8 digit hex we use. You’ll get the exact same color.

    I’m sorry, I almost forgot about this part:

    Your plugin does not pick up on the font/color thing, so it needs to be set on each slide,

    Yes, every layer needs to be styled in Smart Slider in the exact way you want that particular layer to look like. Unfortunately, Smart Slider can’t inherit styling from your theme or from outside sources for the reasons listed here:
    https://smartslider.helpscoutdocs.com/article/2008-why-wont-the-slider-inherit-my-themes-style

    Thread Starter Tamie

    (@tamierp)

    Hello!
    Thank you for the quick response and the explanation!

    I took an HTML class back in the late ’90s so, either this was not invented yet or I forgot about it. LOL Well, I feel a bit smarter now! Learning WordPress has been a slow and painful journey, but I think I’m getting there. It’s always these little things that trip me up. I am so thankful for this forum.

    • This reply was modified 3 years, 2 months ago by Tamie.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No hex Colors?’ is closed to new replies.