Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3364183
Editing the child theme
Closed

Comments

  • inklusion started the conversation

    Hi,

    I would like to edit some penci components and I figure the child theme would be the place to do it.

    Is there any documentation for it?

    If not, can I get some help?

  •  2,486
    PenciDesign replied

    Hi,

    Which function/features do you want to modify?

    You can read the document about the child theme here: https://developer.wordpress.org/themes/advanced-topics/child-themes/

    Regards,
    PenciDesign.

  • inklusion replied

    A few things:

    • Single Post background color to be determined by the category
    • Single Post support for promoted posts - with changes in background color and image
    • Related posts - show the category as well

    Things of this nature.

  •  2,486
    PenciDesign replied

    Hi,

    Your customization needs to modify and add a lot of PHP codes. This is a simple way to do that:

    1. Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    body.category-2 {
        background: #f1f1f1;
    }

    Change -2 to the category ID you want to change the background color.

    2. If you want to customize the background for an invidual post, please install the XO Post Background plugin here: https://wordpress.org/plugins/xo-post-background/

    Regards,
    PenciDesign.



  • inklusion replied

    Thank you.

    I ended up doing it by creating custom widgets to do it/reading your source and replicating the widgets in the child theme.