Support » Theme: Quark » text banner not only on front page, but on all

  • Resolved rustamaha

    (@rustamaha)


    Hello, i added widget “text” to banner place. but it shows only on frontpage. and i need it on all pages of site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    If you’ve added the widget to either the ‘First Front Page banner Widget’ area or the ‘Second Front Page banner Widget’ area, then yep, it’ll only display on the front page as described.

    If you want these widget areas to display on all pages, then you’ll need to change your header.php template. To do this simply, do a search for is_front_page() and replace it with true and that should do the trick.

    thanks , it works 🙂
    great theme, i like it very much.

    Theme Author Anthony Hortin

    (@ahortin)

    Thanks. I’m glad it sorted everything out 🙂

    hi. i had the same requirement so have made the change advised.

    while this enables the text (or in my case, image) on all pages, it doesn’t align the same vertically as on the front page. i’m no web developer but i’ve inspected the code and it looks like the difference is that on the front page the div with id “widget_sp_image-3” inherits:
    .home .banner .widget {
    margin: 1.5rem 0px;
    }
    from the style.css stylesheet, but on all the other pages it doesn’t. i’m not sure why because the div is specified the same on all the pages and uses the “widget” class.

    it would be be great to have every page look the same so if anyone can advise on the cause, and solution, to this problem it would be much appreciated. cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘text banner not only on front page, but on all’ is closed to new replies.