• Resolved swun

    (@swun)


    Hi! I have a minor question. I have a test website and a live one. Both have the same version of the plugin. I have also compared the plugin files and they are the same on both sites. Somehow the widget code that is provided at the bottom of the settings page is different, in that one uses 6-digit hex color codes like #ffffff, and the other uses 3-digit ones like #fff. Example line of code:

    Test site:

    .switcher .selected {background:#ffffff linear-gradient(180deg, #efefef 0%, #ffffff 70%);position:relative;z-index:9999;}

    Live site:

    .switcher .selected {background:#fff linear-gradient(180deg, #efefef 0%, #fff 70%);position:relative;z-index:9999;}

    Do you have any idea what is causing the difference? Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    #fff and #ffffff are equivalent.

    Possibly you have used a different browser when configuring GTranslate or you have a different color picker library.

    Thanks! ??

    Thread Starter swun

    (@swun)

    The same browser was used for configuring GTranslate on our websites.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hex color codes in the Widget Code’ is closed to new replies.