• Resolved vossie

    (@vossie)


    Hello,

    i’m having a problem with making a child theme for the online marketer theme.

    when I make it and activate it, I get a totally different lay-out and I can’t get it to work.
    Here ‘s a link

    and here’e the code to it: link

    Can anyone give me the right code to get this working? I searched and posted on other forums without success and getting a little desperate…

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    We need to see the problem, can you activate your Child Theme?

    Thread Starter vossie

    (@vossie)

    hello, i just did

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    This line in your Child Theme style.css file;

    @import url(library/css/default.css);

    Is still not changed to the line that Alchymyth recommended from your last thread.

    Thread Starter vossie

    (@vossie)

    Indeed, but I changed it back because it didn’t change anything.

    Anyway, i did it now and now it did change, but the light-blue horizontal lines and the magnifying glass in the search box are not visible anymore.

    Also, i’m on version 1.8.8 now

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you write all that CSS in your Child Theme? It seems odd that a Child Theme stylesheet could be so full of styles.

    Thread Starter vossie

    (@vossie)

    yes i did…

    I know about what Alchymyth wrote, but wasn’t clear to me: Is this what it should be?
    And without all the css?

    /*
    Online Marketer Child
    Theme URI: https://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: https://wpthemes.co.nz/
    Template: online-marketer
    Version: 1.8.6
    */
    
    @import url(../online-marketer/library/css/default.css);
    @import url(../online-marketer/style.css);
    @import url(https://fonts.googleapis.com/css?family=Francois+One);
    @import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Okay sorry, I was just wondering if you had any duplication of styles that may have been causing you the magnifying glass and horizontal line issues you’re now experiencing.

    Thread Starter vossie

    (@vossie)

    In the meantime I tried to use the above code now as the complete style.css for my child and now it works!!!

    Very strange that it does now and not before with the 1.8.6
    Also when I want to activate the child, I can’t choose ‘header image’ because this option is missing. only when the theme is activated it is possible. No problem of course, just telling…

    Anyway, thanks for the help!!!

    Hi Andrew,

    I already used the next codes in the style.css on child theme:

    ‘/*
    Online Marketer Child
    Theme URI: https://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: https://wpthemes.co.nz/
    Template: online-marketer
    Version: 1.8.8
    */

    @import url(../online-marketer/library/css/default.css);
    @import url(../online-marketer/style.css);
    @import url(https://fonts.googleapis.com/css?family=Francois+One);
    @import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300); ‘

    When I try to create a header.php, page.php, functions.ph etc don’t let me.
    How can I make my changes – remove and add – in the child theme?
    Do I need to write the changes in the css even when it has to be in diferents files, like functions.php?

    The changes that I want to do are:
    1. remove the search box.
    2. remove the footer line.
    3. remove the comments in pages.
    4. remove the write-dates to the post.
    5. remove the name of the pages when they are published.

    Thank you for you help.
    https://www.rusiabenitez.com

    Sorry I didn’t put the codes between backticks. Here it is again.

    Hi Andrew,

    I already used the next codes in the style.css on child theme:

    /*
    Online Marketer Child
    Theme URI: https://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: https://wpthemes.co.nz/
    Template: online-marketer
    Version: 1.8.8
    */
    
    @import url(../online-marketer/library/css/default.css);
    @import url(../online-marketer/style.css);
    @import url(https://fonts.googleapis.com/css?family=Francois+One);
    @import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);

    When I try to create a header.php, page.php, functions.ph etc don’t let me.
    How can I make my changes – remove and add – in the child theme?
    Do I need to write the changes in the css even when it has to be in diferents files, like functions.php?

    The changes that I want to do are:
    1. remove the search box.
    2. remove the footer line.
    3. remove the comments in pages.
    4. remove the write-dates to the post.
    5. remove the name of the pages when they are published.

    Thank you for you help.
    https://www.rusiabenitez.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘child theme online marketer’ is closed to new replies.