Site logo

[Resolved] Use Settings in Child Theme css

Home Forums Support [Resolved] Use Settings in Child Theme css

Home Forums Support Use Settings in Child Theme css

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #1209061
    Tom
    Lead Developer
    Lead Developer

    Hahah that gave me a good laugh! No thanks needed, I’m glad I could help! Stay safe 🙂

    #2094887
    onalti

    i need to assign the color value of this element to another div.
    Element Type > Header > Site Header >Navigation Colors > Navigation Text

    #2095110
    onalti

    panel

    Hi. I need something like this too, but I can’t get the Navigation Text color value. What should I use instead of $generate_settings[‘background_color’] .

    elements/class-hero.php

    $css->set_selector( '.header-wrap #site-navigation:not(.toggled) .main-nav > ul > li > a, .header-wrap #mobile-header:not(.toggled):not(.navigation-stick) .main-nav > ul > li > a, .header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle, .header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle:hover, .main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a, .main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a:hover, .main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a:focus' );
    				}
    
    $css->add_property( 'color', esc_attr( $options['navigation_text_color'] ) );
    #2095160
    Elvin
    Staff
    Customer Support

    Hi @onalti,

    Can you open a new topic for this? So we don’t convolute/derail solved topics for other users.

    Opening a new topic also allows you to use the private information text field feature incase we need to ask more details –
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Thank you.

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.