Child theme stylesheet not working

Home Forums Gillion Theme Child theme stylesheet not working

Home Forums Gillion Theme Child theme stylesheet not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Neroblock
    Participant

    Hello

    I am facing the following problem. I have made some changes in the stylesheet of the child theme but they do not appear in my page. Viewing the source code of the page, the file (style.css) loads correctly, upon opening it I can see the changes I have made, but they do not appear in the page. If I put the same code in the Custom CSS tab of Theme Options, it works as expected.

    I have deactivated all plugins except the necessary ones and the problem still persists. Any idea/hint as to how approach the solution of the problem, is more than welcome.

    Thank you for your time.

    Regards,
    Alexander

    Hi Alexander,

     

    I hope you are well today and thank you for your question.

     

    Please try making the CSS code more specific as described on the below pages.

     

    https://dev.to/emmawedekind/css-specificity-1kca

    https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/

    https://www.w3schools.com/css/css_specificity.asp

     

    If you can’t make it specific then please share your custom CSS code and site URL so that I can help you.

     

    Best regards,
    Shufflehound team

    Neroblock
    Participant

    Hello

    the css is specific. If it wasn’t, it wouldn’t work even in the custom css tab in the theme options. Right?

    Thank you for your time.

    Regards,
    Alexander

    No, it is not.

     

    The CSS code added in the custom  CSS tab of theme options has more specificity than the CSS added in the style.css file of the child theme as the former one gets embedded directly in the webpage as an internal stylesheet.

     

    If you refer to the information provided on the above shared pages then you will understand it.

Viewing 4 posts - 1 through 4 (of 4 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form