WordPress.org

Ready to get started?Download WordPress

Forums

Spirit
[resolved] Background Images (7 posts)

  1. jarman22
    Member
    Posted 1 year ago #

    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 http://www.nash-gb.com with http://www.nash-gb.com/wordpress

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

  2. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    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!

  3. jarman22
    Member
    Posted 1 year ago #

    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

  4. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    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.

  5. jarman22
    Member
    Posted 1 year ago #

    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: http://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(

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

    Template: spirit-child

    to

    Template: spirit
  7. jarman22
    Member
    Posted 1 year ago #

    Many thanks! I feel stupid!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.