Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #896677

    I’m new at this and I’ve made minor changes to the functions.php file with code supplied by Kreisi.

    It’s not clear whether I should be using a child theme or not before I get to far?

    Thanks, Stephan

    #896713

    Hey stovetopchicago,

    Yes a child theme is recommend as it will protect your customizations in the event of an update.

    Best regards,
    Jordan Shannon

    #896760

    Hi Jordan,
    Ok, I did that.
    Then imported Parent theme settings.
    But it did not import the changes I made by uploading the minimal demo and some advanced styling changes I made.
    Was it supposed too?
    Thanks, Stephan

    #896771

    Hi,
    It should import the changes from the demo, Please clear any plugin cache, logout and clear your browser cache, then login in again.
    For your custom css, where did you make the changes, “General Styling > Quick CSS field” or “WordPress > Customize” or a css plugin?

    Best regards,
    Mike

    #896840

    HI Mike,
    Clearing everything and logging in and out got the minimal demo stuff back .

    But not the Code and CSS modifications. I deleted them and saved them and tried putting them back in again with no different results.

    My goal was to try to replace the Enfold logo with a text site title and tagline. The logo is still there everywhere and my text and tagline only appear in phone and tablet view.

    This is in the child theme quick CSS;

    .logo .subtext {
    font-size: 28px;
    color: #000000;
    }

    And this is in the child theme functions.php:

    add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
    function kriesi_logo_addition($sub) {
    $sub .= “<span class=’logo-title’>Painted Journals</span><br><span class=’logo-subtitle’>Maine Based Artist Stephan Giannini</span>”;
    return $sub;
    }

    I deleted all new code and CSS from the parent theme. If you want to look at it, there’s login details in the private content.

    Thanks,
    Stephan

    #896912

    Hi,
    When I logged in you title was showing but the subtitle was below behind the slider, I added this in the General Styling > Quick CSS field to solve:

    #top .logo-subtitle {
        color: #aaa !important;
        font-size: 12px !important;
        top: 30px !important;
        position: absolute;
       white-space: nowrap;
    }

    it now shows on all devices, please clear your browser cache and check.

    Best regards,
    Mike

    #896969

    Thank You ,Mike, works correctly now.

    #896974

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.
    Nice work, by the way :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Should I use a Child Theme?’ is closed to new replies.