• Resolved ankitseth

    (@ankitseth)


    Hi,

    I have set up child theme for pinnacle by creating a folder (pinnacle-child) and creating a css file with following code:

    /*
     Theme Name:   Pinnacle Child
     Theme URI:    https://activitydeck.com/pinnacle-child/
     Description:  Pinnacle Child Theme
     Author:       Ankit Seth
     Author URI:   https://activitydeck.com
     Template:     pinnacle
     Version:      1.0.0
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout
     Text Domain:  pinnacle-child
    */
    
    /* =Theme customization starts here
    -------------------------------------------------------------- *//* write custom css */

    However when I try to add any custom css here, it’s not being reflected on the website. Is there anything I am missing here? Any help would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post a link to your site with the child theme active?

    Thread Starter ankitseth

    (@ankitseth)

    Here’s the link to the website with child theme active

    https://activitydeck.com/

    You should delete line 22 of your child theme’s stylesheet:

    media="all"

    You’re using the wrong syntax for media queries and it’s not necessary in this case, anyway, as “all” is assumed.

    Other than that, your stylesheet looks fine, but your theme has built-in typography options that will override your child theme’s stylesheet.

    Thread Starter ankitseth

    (@ankitseth)

    Thanks for pointing that the built-in typography is overriding child theme’s css. I had no clue what I was missing. Much appreciated ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Setting up child theme’ is closed to new replies.