This topic has 1 reply, 1 voice, and was last updated 8 years by tbonetimmons.

  • Author
  • #111124
     tbonetimmons
    Participant

    I need to setup a fallback title_bg photo (along with the css involved) for when a specific page or, more importantly, a post is created.

     

    I’ve been trying to do this with an addition to my child theme functions file but I’m not adept at everything.  Any help would be greatly appreciated.

     

    Thanks,

    Will

    #111129
     tbonetimmons
    Participant

    Well, I guess I figured out a solution but I’m not sure if it’s the absolute best way to accomplish it.

    In the Child Theme stylesheet (style.css) I added simple code to the class for the main-title:

    .main-title{
    background-image: url(“http://pictureurlgoeshere”);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center bottom;
    }

    Please let me know if this is the best permanent solution.
    Thanks,
    Will

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

The forum ‘Feature requests’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?