Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #277974
    Glen Pavelich
    Participant

    I have an on-going problem trying to get additional css to work once added the child style sheet.
    I get the child theme set up just fine when I start a new site, and then as I am working on the new site I add the css to the ‘additional CSS’ temporarily. Then when I want to clear it from there, I add it carefully to my child style.css

    BUT then I go to delete each style from the additional css…. usually one by one to ensure that the css is grabbed from the child style sheet, but …. it actually doesn’t… the style disappears from the front end.

    I usually set up my child theme header as so:

    (This one doesn’t work)
    /**
    Theme Name: Lucida Pro Child
    Theme URI: https://northvalleywaste.ca/wp-content/themes/lucida-pro-child
    Author: Glen Pavelich
    Author URI: https://fireflywebs.ca
    Description: Customization for North Valley Waste Management Authority
    Version: 1.0
    License: GNU General Public License, version 3 (GPLv3)
    License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    Text Domain: Lucida Pro
    Template: lucida-pro

    /* =Child Theme Custom CSS

    _______________

    and then I add all the css below it.

    The style sheet above is not working, but this one below (for another theme) does and I have been able to successfully clear the Additional CSS for this one.

    (This One Works)
    /**
    Theme Name: DevotePress Pro Child
    Theme URI: https://katepwabeach.ca/wp-content/themes/devotepress-pro-child
    Author: Glen Pavelich
    Author URI: http://fireflywebs.ca
    Description: Customization for Katepawa Beach
    Version: 1.0
    License: GNU General Public License, version 3 (GPLv3)
    License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    Text Domain: Devotepress Pro
    Template: devotepress-pro

    /* =Child Theme Custom CSS katepwabeach.ca
    ————————————————————– */

    I just can’t figure out why the style sheet is so fickle. All the syntax is correct as far as I can see… nothing missing.
    So, I ultimately have to leave the css in the Additional CSS and I’d rather not in case the site goes down or I update the theme.

    Is there a way you can check this style sheet for me??? What is wrong with it??
    https://northvalleywaste.ca/wp-content/themes/lucida-pro-child/style.css

    #278033
    Skandha
    Participant

    @fireflywebs: Hello there,
    I will need to look into your site to debug the issue. I have sent you an email. Please check your inbox as well as the spam folder.

    Kind Regards,
    Skandha

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Additional CSS’ is closed to new replies.