New Landing How can we help? Themeforest Theme Support Neighborhood custom css changes not applying

Viewing 14 posts - 1 through 14 (of 14 total)
  • #52004
    bellacorsa
    Member
    Post count: 9

    hi,
    I am using neighbourhood child theme. As suggested by support in this forum, I am making a lot of changes to the style.css only in my custom css box. It has been working well until now. But new changes are not applying. Old ones are working perfectly.
    What can i do? I still need to restyle some headings, lines, margins…

    #52040
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    If you are using a child theme you can save the css in the child theme style.css file.

    If you are changing anything that can be changed in the admin backend for e.g. colors of certain things, fonts and sizes, then you will have to add !important to the end of rules.

    – Kyle

    #52051
    bellacorsa
    Member
    Post count: 9

    Thanks,
    How can i change the style.css of the child theme? When i access it, i only find a call to the main theme…

    #52063
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Do you have the child theme activated?

    If you go to Appearance > Editor you will be able to add your styles there.

    – Kyle

    #52081
    bellacorsa
    Member
    Post count: 9

    Ok,
    Yes i had child theme activated. When i go to Appearance>Editor there is blank under this:

    /* ——————————————–
    CHILD THEME CSS
    ——————————————– */

    Do i have to copy here the original style.css of the main theme and then edit?
    Or do i have to write my custom css here instead of in the custom css box?
    Or do i have to edit the main theme style.css? Woudn’t I lose changes with updates then?
    Thanks for your quick replies!

    #52089
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Write your custom css underneath

    /* ——————————————–
    CHILD THEME CSS
    ——————————————– */

    You don’t need to copy the original css as you will see it has been imported at the top.

    Make your css changes here and they will not be overwritten when you update the parent theme.

    – Kyle

    #161505
    oOPurple_HazeOo
    Member
    Post count: 8

    Could I reopen this please?

    I am placing my custom css into the child theme’s css and it does nothing?
    I have tried via FTP and through the editor and neither work.

    Though when I do it through the theme options it works. This is not ideal though as I need to make a lot of edits.

    Any suggestions?

    *Edit – it works now 🙂

    #161511
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad that is sorted.
    -Rui

    #161514
    oOPurple_HazeOo
    Member
    Post count: 8

    Sorry, it only half works..

    Some of my styles are working while others not, why would that be?

    #161518
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You’ve likely placed invalid css for the one’s not working, or you’ve not closed one of your css rules with a closing brace } somewhere

    – Kyle

    #161519
    oOPurple_HazeOo
    Member
    Post count: 8

    I don’t understand though, if i copy paste the EXACT WORKING css from the theme options into the child themes css half of it doesn’t work…

    #161520
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That;s because the order the css is loaded is different, therefore when placed in the child theme so things are overwritten by inline styles, which is not the case in the theme options. You’ll need to add !important to the things that are not working

    – Kyle

    #161522
    oOPurple_HazeOo
    Member
    Post count: 8

    That makes sense, thanks 🙂

    #161524
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    great 🙂

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register