WordPress.org

Ready to get started?Download WordPress

Forums

Online Marketer
[resolved] child theme online marketer (11 posts)

  1. vossie
    Member
    Posted 1 year ago #

    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...

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

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

  3. vossie
    Member
    Posted 1 year ago #

    hello, i just did

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    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.

  5. vossie
    Member
    Posted 1 year ago #

    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

  6. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

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

  7. vossie
    Member
    Posted 1 year ago #

    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: http://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: http://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(http://fonts.googleapis.com/css?family=Francois+One);
    @import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
  8. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    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.

  9. vossie
    Member
    Posted 1 year ago #

    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!!!

  10. Rusia
    Member
    Posted 1 year ago #

    Hi Andrew,

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

    '/*
    Online Marketer Child
    Theme URI: http://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: http://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(http://fonts.googleapis.com/css?family=Francois+One);
    @import url(http://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.
    http://www.rusiabenitez.com

  11. Rusia
    Member
    Posted 1 year ago #

    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: http://wpthemes.co.nz/online-marketer/
    Description: Child theme for the Online Marketer theme
    Author URI: http://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(http://fonts.googleapis.com/css?family=Francois+One);
    @import url(http://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.
    http://www.rusiabenitez.com

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic