WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Oxygen child theme menu problem (3 posts)

  1. mihaigiurgiu
    Member
    Posted 1 year ago #

    Hy,

    I am new at wordpress.org.

    1. I have a problem when activating child theme for Oxygen Theme. The primary menu just do not show as in standard theme.

    Now on site, is again the "father-theme" with just an page for view.
    You can find here print screens with differences.
    How it looks in oxygen: standard

    Child theme view here

    When child theme is active the main menu is not shown properly and all site is left align.

    In child theme I have just basic style.css file. The code is:
    /*
    Theme Name: oxygen child theme
    Theme URI: http://www.mihaigiurgiu.ro
    Description: Child theme for the Oxygen theme
    Author: Mihai Giurgiu
    Author URI: http://www.mihaigiurgiu.ro
    Template: oxygen
    Version: 1.0
    */

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

    I rebuild the menu and I erased the browsers cache.

    2. Second question is about header/logo image. What to change so I can put an large header image 940px/100px, not this standard 400px/100px?

    Thank you,

    Mihai

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    The screenshots look to me like the child's style.css wasn't loaded at all. If that's true then this is not the issue of menu styling problem, it's the issue of child theme style isn't loaded.

    Did you check on file/folder permission ? and it's nice make sure the folder's name of your child theme is oxygen-child-theme.

  3. mihaigiurgiu
    Member
    Posted 1 year ago #

    Thanks for the answer.

    1. Changes din not work.
    I decided to try installing Child Theme with the plugin "One-click Child Theme". It did worked and SOLVED the problem.

    Now there is another file in child theme folder. It's named RTL Stylesheet (rtl.css) and has the code:
    /*
    Theme Name: OxygenChild
    Template:

    Right to Left text support.
    */
    @import url("../twentyeleven/rtl.css");

    Style.css looks the same like my old one.

    2. I resolved the header image also.
    I inserted in style.css the line:
    #branding { width: 100%; }

    In the cropping step, after uploading the image I needed, I just made the crop at full length of the image, even if the blinking crop borderss had an proportion of 400px/100px. Now the header image has 940px/100px.

    Hope this could help others.

Topic Closed

This topic has been closed to new replies.

About this Topic