• Resolved dsoundguy0361

    (@dsoundguy0361)


    I have created a Twenty Eleven child theme and have basic functionality. The problem is the header in the child has reverted back to default size, and images of street cars and the like. The custom header in the parent still looks the same. If I try to upload the needed images into the child header, or point to them from the media library, they don’t work. Just shows the little box it shows when the link to an image is broken. I can’t seem to use any images in the child that are already in the parent. The child theme seems to be working except for the header and using the same images that are already in the parent..

    Any advice on this? Ready to activate the child if I can fix the header and image problem.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Theme options / settings don’t carry over to other themes, including child themes, so you need to redo them in your child theme. Is that what you have tried? You do need to have the child theme active in order to do that.

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    Thanks for responding. When I activate the child, and try to upload, or insert images from the media library into the header, they don’t work. just get the generic “graphic not found” box. The files I have in the child theme are: style.css, and rtl.css. I edited the parent header to look the way I wanted, but how do I do that to the child with just those two files.

    below is the beginning code in my child style.css..the rest of the code in the child style.css was copied from the parent folder.

    /*
    Theme Name:     Twenty Eleven Child
    Description:    Child theme for Twenty Eleven
    Author:         DW
    Template:       twentyeleven
    Version: 1.5
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
    Text Domain: twentyeleven
    */
    @import url("http://lonesomepineknives.com/themes/twentyeleven/style.css");

    Ah, looks like your @import line is wrong — it should be this:

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

    You also shouldn’t have any CSS code in the new stylesheet except changes that you are making – i.e. don’t copy the stylesheet contents from the parent one.

    See if these changes fix the problem.

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    everything is ok now except the header images. still shows default twenty eleven images.

    On the Header options page..”Choose an image from your computer” and “Or choose an image from your media library” go thru the process but don’t display in admin or the front end. I get the black box.

    i will be good to go if we can fix this WPyogi.

    Can you post a link to your site? Also try deactivating any plugins.

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    i have the child activated now. will leave it up till uu respond.
    the only plugins i have active are NeaxtGEN Gallery and WP e-commerce.

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    I cleaned the style.css in the child. Wiped everything after import command.

    Okay, that looks good — though you do have a stray bracket in the stylesheet – be sure to get rid of that – it will cause problems if you add styles there.

    So, are you adding the custom header from the custom header screen? (Sorry to sound redundant…just making sure we cover things :). )

    Probably a good idea to deactivate those plugins just in case. Also, do you have any caching on?

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    just going to “appearance-header” where you change header stuff. Can’t change, upload, or retrieve from “media library”.

    not sure about the “caching thing”

    Hm, that’s definitely weird. So turn off those plugins and then via FTP, reset the plugins folder:

    http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

    They can sometimes be cranky and not fully deactivate and still cause problems. Do you have the most current versions of those plugins and WP?

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    de-activated wp e-commerce plugin. nextGen gallery plugin runs the gallery pages. they wont work without it.

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    yes have current versions of both plugins

    Thread Starter dsoundguy0361

    (@dsoundguy0361)

    will the nextgen gallery plugin cause the header to screw up?

    Seems unlikely as it’s widely used, but these are the standard troubleshooting steps. And sometimes plugins can just be weird.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘child theme header’ is closed to new replies.