0

I have created a simple child theme to modify the Minimal theme by Elegant Themes.

The child theme loads with the changes I have made, but the links to pages in the header are all messed up. Rather than the page links I have selected appearing in the header, links to all categories appear in addition to links to these pages.

Even if the only modification I make is as follows:

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

a {
    text-decoration: underline !important;
}

The links at the top are still messed up and the category links are improperly displayed in addition to the page links, even though I am not making any other changes. (But the underline does display.)

What is causing this issue?

EDIT: Clarified that category links are what is being display incorrectly.

7
  • Messed up = ? Is this a css or a WP Q? Doesn't elegant themes offer support?
    – kaiser
    Commented Sep 16, 2011 at 14:17
  • Messed up in the sense that displayed links should not be changing just based on making a simple css change. Commented Sep 16, 2011 at 14:18
  • Elegant themes does offer support but I thought this was more of an issue with how child themes work in wordpress and I'd like to try to isolate the issue before I go to them. Commented Sep 16, 2011 at 14:19
  • 1
    I would say that this is a question for ElegantThemes support. Without looking at the Theme's code, I would guess that the problem is lack of inherent Child-Theme support in the Minimal Theme codebase - e.g. using get_stylesheet_directory() instead of get_template_directory(), and the like. Commented Sep 16, 2011 at 14:27
  • Thanks for the info--I am going to contact them and I will post here when I get an answer in case someone else has the same problem. Commented Sep 16, 2011 at 14:36

1 Answer 1

2

I think your problem may be similar to this question: How could child theme be different than parent theme if I haven't made changes?

When you activate a child theme (assuming it's properly setup), you will inherit all of the parent theme's styles (and usually widgets), but you will not inherit:

  • Menu assignment to theme locations
  • Theme options (sometimes, but I seem to recall Elegant Themes is an instance that doesn't inherit options).

Hence, you're probably seeing the expected behavior, and it's not a problem with the child theme or WordPress, but rather a change in settings stemming from a new theme being activated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.