• Resolved jarman22

    (@jarman22)


    Hi

    I currently have the “Spirit” theme loaded and I like the layout, however I wish to replace the images as it’s not Christmas :O/

    I know where the images are stored on my hosting site but I’m unable to locate the actual code for the pages.

    I am planning to replace the current site https://www.nash-gb.com with https://www.nash-gb.com/wordpress

    Please may I have some assistance on where I can change them? Thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Caroline Moore

    (@sixhours)

    There are multiple background images applied to multiple DIVs, which makes this a bit tricky to do. You’d want to create a child theme, then look in style.css for the #page, #snowflakes-1, #snowflakes-2, .site-info:before, #colophon:before, and #colophon:after selectors.

    Copy them to your child theme’s style.css and update the background-image and/or background-color calls to point to your own background-images/colors, or set them to none to remove the image.

    In the future, you can use a plugin like Firebug or Chrome Developer Tools to find these selectors by right-clicking on your site and Inspecting it.

    Good luck!

    Thread Starter jarman22

    (@jarman22)

    Hi

    I now have this showing from “Manage Themes”

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Spirit-Child Template is missing.

    Any ideas to what I might have done wrong?

    Kind regards

    Theme Author Caroline Moore

    (@sixhours)

    Ensure you’ve completely followed the instructions in the child themes link above.

    The child theme should be installed and activated like any other theme, in the /wp-content/themes/ folder (not within the parent theme’s folder, for example). Double check the template information in your child theme’s style.css header, too.

    Thread Starter jarman22

    (@jarman22)

    Hi

    I now have the child folder so it looks like this:-

    /wp-content/themes/spirit-child/

    with the style.css inside it. I then changed the following at the top of the style file:-

    Theme Name: Nash-GB
    Theme URI:
    Author: Paul Jarman
    Author URI: https://www.jarbinator.com
    Description: Car Interest theme.
    Template: spirit-child
    Version: 1.0
    License: GNU General Public License
    License URI: license.txt
    Tags: post-formats, flexible-header, custom-menu, seasonal, full-width-template, sticky-post, white, blue, holiday, one-column, two-columns, right-sidebar, fixed-width, rtl-language-support, translation-ready

    and it still says the theme is broken :O(

    The template line needs to reference the parent theme – so try changing this:

    Template: spirit-child

    to

    Template: spirit

    Thread Starter jarman22

    (@jarman22)

    Many thanks! I feel stupid!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Background Images’ is closed to new replies.