WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[closed] Spun modifying child theme (8 posts)

  1. polly001
    Member
    Posted 1 year ago #

    Hi Caroline

    I have done as you suggested and created a child theme. I also have installed firebug so I can explore the theme and understand where the changes i want to make are found in the css file but one thing I am confused by. after noting down all the changes i wanted to make I tried it by adding to the child theme stylesheet and it looked all wrong - some changes worked others didn't :-( I think I might have added uneccesary lines in my child theme style.css file.

    For example I'd like all the page headings at the top to be in a different colour and lower case. Therefore I have modified them as seen below. Should I be including all the other lines? or just what i have changed (color and text-transform).
    thanks for your help - much appreciated

    .main-navigation {
    color: #B5DA9A;
    display: block;
    float: left;
    font-family: Quicksand,Helvetica,Arial,sans-serif;
    font-size: 1.4rem;
    margin: 5px 0 0;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    width: 60%;
    }

  2. polly001
    Member
    Posted 1 year ago #

    I have noticed an error message in the themes page of my dashboard.
    It's saying that the child theme is missing parent theme. perhaps this may explain my problem above?
    I followed creating child theme instructions which are found on here

    I created a directory called spun-child, within that there is a new css file called style.css
    In this stylesheet the only information at the moment it contains is the theme name, author, etc, added line for template and below all this i added the following line:

    @import url("../spun/style.css");

    any ideas anyone in what i'm doing wrong?

  3. leejosepho
    Member
    Posted 1 year ago #

    Assuming your Child Theme is in its old folder next to the folder of your Parent, I would say to be sure the name in the Template line of your Child Theme is correct since a mis-match there would cause "Parent not found".

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Please post the entire header section of your new style.css (from the top through the @import line).

    A link to your site would also be helpful.

  5. polly001
    Member
    Posted 1 year ago #

    I can now see my child theme and there is no broken theme message appearing in wordpress :-)

    After reading various other posts I made 2 changes which seems to have resolved issue.

    in my ftp manager I can see
    wp-content/themes/spun
    wp-content/themes/spun-child

    First change: within my child theme style sheet I changed parent theme name to be entirely in lower case even though in it's style sheet it appears like so: Spun

    Second change: I had a line between the end of the information
    */ and the @import url("../spun/style.css") so I deleted it

  6. leejosepho
    Member
    Posted 1 year ago #

    within my child theme style sheet I changed parent theme name to be entirely in lower case even though in it's style sheet it appears like so: Spun

    Glad you got it working! I just looked at my own Parent, and I think the deal there is the name of the folder. Apparently the template line in the Child Theme must match the name of the Parent Theme folder, then the Theme Name on the Parent's style sheet is what shows in Themes at the Dashboard.

  7. polly001
    Member
    Posted 1 year ago #

    still not working :-(
    am very sad and frustrated!

  8. esmi
    Forum Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic