• Resolved samelis

    (@samelis)


    Hi there. Im using Zerif -child of Zerius Lite- theme and i want to make some css changings. Is there a way to do them without losing them after theme update? creating a grand-child theme or something like this?
    Thank you

Viewing 14 replies - 1 through 14 (of 14 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can’t do grandchildren, you might want to rename the child theme to something else

    Thread Starter samelis

    (@samelis)

    but that way i couldn’t get some updated features,right?
    i mean -sorry, i’m new in WP- when i use a child theme and the parent is updated, everything is updated except my changes,am i correct? or the update doesnt do any changes at all to my chind theme?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    but that way i couldn’t get some updated features,right?

    Yes that’s right

    i mean -sorry, i’m new in WP- when i use a child theme and the parent is updated, everything is updated except my changes,am i correct?

    Yes, correct as well

    Thread Starter samelis

    (@samelis)

    thanx both for your answers.
    i have found some links about making something like grandchild but i dont understand..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What links are those? As far as I’m aware, you cannot make a grandchild.

    Michael

    (@alchymyth)

    want to make some css changings

    if it is only CSS changes, i.e. changes to the formatting, and no changes to the templates, then try working with a ‘custom CSS’ plugin https://wordpress.org/plugins/search.php?q=custom+css

    Thread Starter samelis

    (@samelis)

    i found some in google.
    Thank you all

    Thread Starter samelis

    (@samelis)

    back again.. couldnt make it..

    i have made changes to css and php files in both parent and child theme.
    the problem is i use multisite and now i see i need to make different changes for each subdomain but every change has effect to all subdomains..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    samelis – There’s a way to do that 🙂

    Make an MU plugin to call the CSS for everyone. Basically you make a functions.php type file in the mu-plugins folder and have it call your style.css (same folder). You can then make all your edits for everyone there 🙂

    Thread Starter samelis

    (@samelis)

    thank you Ipstenu, but i’m newbie in css..

    Thread Starter samelis

    (@samelis)

    is there any code that can add to style.css, and point each subdomain?
    for example, “1.example.com color=xxx” and “2.example.com color=zzz” ???

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It’s going to have to be done by php. No one has written that plugin yet.

    global $blog_id;
    
    if ( $blog_id == 2 ) {
    
        // call your css here
    }
    Thread Starter samelis

    (@samelis)

    so i should add these settings in my style.css, am i correct?

    Thread Starter samelis

    (@samelis)

    Ipstenu,you really saved me from making 5 databases and start over every single subdomain. I really thank you my friend.

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

The topic ‘grandchild theme’ is closed to new replies.