WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] text banner not only on front page, but on all (5 posts)

  1. rustamaha
    Member
    Posted 6 months ago #

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

  2. ahortin
    Member
    Theme Author

    Posted 6 months ago #

    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.

  3. rustamaha
    Member
    Posted 5 months ago #

    thanks , it works :-)
    great theme, i like it very much.

  4. ahortin
    Member
    Theme Author

    Posted 5 months ago #

    Thanks. I'm glad it sorted everything out :-)

  5. Carrot Cruncher
    Member
    Posted 5 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic