• Resolved mijstrebor

    (@mijstrebor)


    I’m using ACF for my background color. I don’t see any way of setting the opacity. Perhaps it’s the ACF plugin (Advanced Custom Fields, by Elliot Condon). It seems to be using a 6-digit code for the color. But It would be nice if I could adjust in Sticky Header Effects.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Robert Wattner

    (@rwattner)

    Hi, have you tried using the dynamic tags option? When you are in my plugin settings click the background color selector. The top right icon in that window is for dynamic settings which should include ACF options.

    Click on the Dynamic icon
    Choose ACF Field
    Once selected, click again on ACF Field
    In Settings > Key, select the custom field you want to display.
    The options in the Advanced tab are optional

    Thread Starter mijstrebor

    (@mijstrebor)

    I have a menubar in a Section of a Heder template then another Section with a background image margined under the menu. Some of these mages are dark, some light. I use an ACF Color Picker to set a contrasting text color for the menu text. Next, I decided I want the menu section to be sticky Now the light menu text disappears over the light body So I set the Sticky header to depend on another ACF and not kick in until we’ve scrolled off the common hearer template. This now works perfectly except the menu is no longer translucent and feels heavy-handed.

    The problem is that the ACF Color Picker does not do a 8 digit hex color code and the opacity settings of Sticky Header background do not let me “add” opacity. I realized the problem is really ACF’. I should be talking tp them about this. My asking you for a feature was trying to put a band-aid on.

    BTW: This is a really great tool; thanks a bunch!

    Plugin Contributor Robert Wattner

    (@rwattner)

    I see, yeah, css opacity value on the sticky header would affect the entire header and everything inside it. If the 8 digit hex isn’t accepted the other easy way is to use rgba. Is that an option with ACF? If so, here is a nice 8-digit hex to rgba converter https://jsfiddle.net/teddyrised/g02s07n4/embedded/result/
    I don’t know why elementor switched away from rgba to the dumb 8-digit hex. You can still manually enter rgba in elementor colors though.

    I hope this helps. Even though this seems like a limitation with ACF I’m still willing to help you figure something out that works. Let me know

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion’ is closed to new replies.