Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26820

    Im trying to make my rotating banner fullsize and have it take the place of the word home and move the products up to where the rotating banner is now.

    Below is a graphic example:


    I did not try this and you might need to hire someone for a perfect implementation but you can try to replace following code in functions-enfold.php

    'html'			=> "<div class='{class} title_container'><div class='container'><h1 class='main-title'>{title}</h1></div>{additions}</div>",


    'html'			=> "<div class='{class} title_container'><div class='container'><h1 class='main-title'>{title}</h1>{banner}</div>{additions}</div>",

    and then replace

    $html = str_replace(‘{additions}’, $additions, $html);


    $html = str_replace('{additions}', $additions, $html);

    $banner = (is_home() || is_front_page() ? 'my banner code' : '';

    $html = str_replace('{banner}', $banner, $html);

    and instead of “my banner code” insert your banner code…

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

The topic ‘Homepage Changes’ is closed to new replies.