Support » Theme: MH Magazine lite » How to change position of the blocks of the front page?

  • Resolved Mercure

    (@thedutching)


    Hi,

    the structure of the homepage look like that:

    Home1
    Home 2 Home3
    Home 4
    footer1 footer2 footer3

    I would like move up Home 4 and to have that:

    Home1
    Home 4
    Home 2 Home3
    footer1 footer2 footer3

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    the code for the “Homepage” template is located in the file homepage.php – feel free to modify it.

    Regards,
    Michael

    Thread Starter Mercure

    (@thedutching)

    Hi Michael,

    Thanks for you help.

    The solution:

    Creating a Homepage in theme child and do this:

    Before
    <?php dynamic_sidebar(‘home-1’); ?>
    <?php if (is_active_sidebar(‘home-2’) || is_active_sidebar(‘home-3’)) : ?>

    After
    <?php dynamic_sidebar(‘home-1’); ?>
    <?php dynamic_sidebar(‘home-4’); ?>
    <?php if (is_active_sidebar(‘home-2’) || is_active_sidebar(‘home-3’)) : ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change position of the blocks of the front page?’ is closed to new replies.