• hey guys,

    im creating a website for a small company. yesterday, they made one big photo of the team for the team-section.
    When I was just about to put the photo on the website, I saw that you can only select 2-4 columns. I would like to have the photo centered and large in the team section, so I need the option to select 1 column somehow. can you help me where I need to change the code, its pretty important. thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    There are a few steps to change the team section to display 1 column by overriding the template of the theme with child theme.

    – Install and activate the child theme, following this documentation https://docs.famethemes.com/article/139-sample-child-theme.

    – Copy folder section-parts and file section-team.php from the main theme to the child theme folder.

    – Edit the file section-team.php in the child theme folder, change the code on line 6 to this code
    $layout = 1;
    and line 48 to this code
    $image_attributes = wp_get_attachment_image_src( $user_id['id'], 'post-thumbnails' );

    – Add a small custom CSS code to the file style.css in the child theme folder to center the image and text

    .section-team .team-member { margin: 0 auto; }

    Regards.

    Thread Starter czudema

    (@czudema)

    Thanks!

    But when I will override the template, the whole website will change, or not? this is my current work, this is how the website looks right now.

    http://elektrosol.de/

    I want to change nothing, except of the team-section. the left picture should be centered and be bigger.

    Thread Starter czudema

    (@czudema)

    push, sorry, its important

    Thread Starter czudema

    (@czudema)

    ? 🙁

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

The topic ‘about the team section’ is closed to new replies.