Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1229288

    Hi

    I found the following thread https://kriesi.at/support/topic/enfold-child-style-css-not-working/#post-987040 and tried the recommended function.
    Nothing changes for me.
    When I add the CSS code to the Enfold quick styling, it works. As soon as I removed it and add the exact same code to my Child Theme styles.css, notthing works.

    Any help would be appreciated.
    My website is development, so I have included access credentials for you to see it along with the site URL.

    Thanks
    Lyse

    #1229325

    Hey tremblayly,

    Are you running any custom css in the child theme style.css that could be written incorrectly or formatted wrong? This can sometimes cause the styles to not display on the front-end.

    Best regards,
    Jordan Shannon

    #1229438

    Hi Jordan,
    I ran a CSS validator tool and all appears working.
    When I use the single product page CSS code in the Enfold quick CSS all works as expected. But as soon as I put the code into my Child theme styles.css file none of these work.

    This is the code that does not work:

    /* put product meda data on speparate lines */
    span.sku_wrapper, span.posted_in, span.tagged_as {
        display: block;
        line-height: normal;
    }
    
    /* customize social share on single product page */
    .share_heading {
        font-weight: bold;
        font-size: 24px;
        text-align:center;
        color:#1981b4;
        margin-top:10px;
    }
    .single-product .av-share-box {
        margin-top: 10px;
        border: 1px solid #1981b4;
    }
    .av-share-box ul li a {
    	font-size: 36px;
    }
    #top .av-share-box ul {
       color:#52adda;
    }
    
    /* change width of attribute item labels */
    div table.shop_attributes th {
       width: 160px!important;
    }

    Thanks
    Lyse

    #1229725

    Hi,

    Thanks for the update. Please post admin WordPress login details in private as well.

    Best regards,
    Rikard

    #1229778

    Hi Rikard,

    Credentials provided below as well as site access credentials.

    Thanks
    Lyse

    #1230171

    Hi,

    Thanks for that. I can see the CSS applying on your site though, please see screenshot: https://imgur.com/a/1LiLpnY. Which CSS in particular are you having problems with?

    Best regards,
    Rikard

    #1230441

    Hi Rikard
    I see it’s working now.
    So sorry but not matter what I did I could not see my changes applied.
    Thank you for your patience.
    Lyse

    #1230456

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1230460

    No…sorry.
    Yes you can close that ticket.
    Lyse

    #1230461

    Hi Jordan,

    One last question, do I still need the enqueue function I added or can I remove it.
    Lyse

    #1230467

    Hi,

    It should be fine to remove, but to be sure, just comment it out first and confirm your styles are still active.

    Best regards,
    Jordan Shannon

    #1230639

    Hi Jordan,
    I deactivated the code snippet and CSS, so far all is working.
    Thanks
    Lyse

    #1230804

    Hi,

    Good! Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1230805

    Hi Jordan
    Yes you may close the ticket as resolved.
    Thanks
    Lyse

    #1230819

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Child Theme CSS not being applied’ is closed to new replies.