badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Different Page Title Background Images

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22174
    Johann
    Participant

    Hi Team,

    is it possible to use different “Page Title Background Images” for different pages?

    Thanks for your reply!

    #22210

    Hi Johann,

    This feature is not available in our theme. It needs code customization. You have to hire a developer.

    Thank you!

    #23752
    Chad
    Participant

    +1 on this issue. I’d like to be able to do this as well. Johann, any luck on this one?

    #26305
    bas
    Participant

    It’s not that hard to use an other image, it only needs some smart fiddling. If you use a plugin like this: https://wordpress.org/plugins/add-url-slugs-as-body-classes/, each page has his own css class.

    With a background image, this is the source code:
    <div class=”header-main page-title-color” style=”background-image:url(‘http://*****/wp-content/uploads/2015/07/*****.jpg&#8217;);” >

    Without a background image:
    <div class=”header-main page-title-color”>

    Using the mentioned plugin, we can add an extra class with the page, like this:
    <div class=”header-main page-title-color slug“>

    So, in the stylesheet, you could try something this:
    .slug div.header-main .page-title-color{
    background-image:url(‘http://*****/wp-content/uploads/2015/07/other-image.jpg&#8217;) !important;
    }

    I did not get it working, but don’t have the time to try this extensively, so please let me know the results!

    #27640

    Hi bas,

    Thanks for your helps. It seems to be the good idea. Actually different background image on different page is not possible. We have designed our theme this way. Why don’t you try bas solution. I think it will work fine too.

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.