0

I'm developing a WordPress theme and I searched for days without finding anything. I have a custom control in WP Customizer and I want that it can save data responsive for desktop, tablet and mobile.

Simply I need to create a color picker rgba custom control that saves different data for desktop, tablet and smartphone.

How can I implement it? Example:

enter image description here

6
  • What is your screenshot of? That's not a standard WordPress control. Are you sure whatever it is doesn't just have a separate control for each breakpoint, and adds an icon to the label with CSS or something? Commented Oct 9, 2023 at 9:07
  • the screenshot is an old custom control found on Github. I would like to create one myself, I know how to create a custom control, but I don't know how to save and manage data responsive, for desktop, mobile and tablet. This is only an example that I want to create.
    – Stefano
    Commented Oct 10, 2023 at 12:31
  • What do you imagine needing to do other than just creating a separate control for each breakpoint? Are these controls combined somehow, or involve a toggle of some kind? You mentioned finding it on GitHub, which means you have all the code. Can't you reference that? Commented Oct 10, 2023 at 13:14
  • I need to do the same thing with responsive data saving, but on a colour picker... from that code, I can't really trace and understand how to make a new one, I have some knowledge of js but I'm not an expert on this language.
    – Stefano
    Commented Oct 11, 2023 at 14:09
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Oct 14, 2023 at 9:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.