Site logo

[Resolved] Extra customizer config field

Home Forums Support [Resolved] Extra customizer config field

Home Forums Support Extra customizer config field

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1520251
    George

    I am using some CSS through a child theme to add a bottom border with a certain color to the comment h3 heading and a different color to the h3 ::before pseudo-element. I am looking for a way to add a Customizer setting in the Colors section to be able to change those two colors from the Customizer. What’s the best way to approach the issue?

    #1520838
    Leo
    Staff
    Customer Support

    Hi George,

    It’s not very easy to create your own customizer function and we can’t really help with that here – you will basically need to create your own theme and copy over GP’s existing options.

    I don’t believe there is a way to create a child theme for this as WordPress only allows child theme to overwrite files on the top level and the customizer.php file is not one of them:
    https://github.com/tomusborne/generatepress/blob/master/inc/customizer.php

    Thanks for your understanding 🙂

    #1522066
    George

    Hi Leo. I have actually sorted it out, thanks for the pointer. It’s possible by utilizing WP customizer functions. I will write a small tutorial and post it here for future reference.

    #1522808
    Leo
    Staff
    Customer Support

    Sounds good 🙂

    #1527483
    George
    #1527529
    Leo
    Staff
    Customer Support

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Extra customizer config field’ is closed to new replies.