• Resolved Tilt88

    (@tilt88)


    Hi

    my “our team” section loads a:

    <div class=”col-lg-3 col-sm-3″>

    for every members in the section and, having three members, the result is that the members are not aligned correctly. Using Firebug I changed the div to:

    <div class=”col-lg-4 col-sm-4″>

    and then they appear aligned. How can I make this change permanent?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hardeep Asrani

    (@hardeepasrani)

    Hi,

    You can do it by making these changes to a child theme: https://managewp.com/how-to-create-a-child-theme

    Create a child theme and then copy theme files to the child theme to make changes.

    Also give me the link to your website. ??

    Regards,
    Hardeep

    Thread Starter Tilt88

    (@tilt88)

    The problem is I don’t how to make the Our Team section inherit the col-lg-4 class.. I can’t change the width property to 33.3333% to col-lg-3 because it used also by the Our Focus section and would screw it up..

    Wouldn’t it be possible to write some code into the our_team.php file to order it to take the col-lg-4 class?

    thanks

    Hardeep Asrani

    (@hardeepasrani)

    That’s what you need to do now.

    After creating the child theme, you need to modify theme files. Please create a child theme and then I’ll guide you through the entire process. ??

    Regards,
    Hardeep

    mxnet

    (@mxnet)

    Hello Community,

    I am facing the same issue and need to customize the code in Zerif’s functions.php.

    I am using a Zerif Child theme with a custom functions.php. My child theme was created by following this tutorial https://docs.themeisle.com/article/14-how-to-create-a-child-theme, Method 1., ao my child themes functions.php looks exactly as shown in the tutorial.

    Questions
    1. Do I need to copy the whole functions.php from Zerif theme folder to my child theme, or only the parts I need to change?

    2. Can someone please provide examples or tutorials, how the child themes functions.php need to look like in case I can copy only the changed parts in it.

    3. In case I need to copy the complete functions.php from Zerif to my child theme, how will this affect future theme updates? In case a official Zerif theme update is released and makes changes to functions.php, how will these changes be implemented to my child theme?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Our Team section’ is closed to new replies.