Forum Replies Created

Viewing 7 replies - 31 through 37 (of 37 total)
  • Thread Starter csigabiga83

    (@csigabiga83)

    Hi Vipin,

    Thanks for trying, however the code above for margin did not work. (I actually tried playing with that css code before).

    I suspect it might have something to do with the theme itself or modifications I have already made.

    FWIW here are changes I’ve already made to the theme

    #header {
    padding-top: 10px !important;
    }
    #header {
    padding-bottom: 13px !important;
    }
    nav.main-menu {
    margin-right: 200px;
    }

    Thread Starter csigabiga83

    (@csigabiga83)

    Weird, URL is good and site seems to be up. Would you mind checking again?
    https://dev.dentistryon7.com/wp/

    Thanks for your help Bojan ??

    Thread Starter csigabiga83

    (@csigabiga83)

    Questas,

    I have seen that, but according to this, https://codex.www.ads-software.com/Child_Themes
    I understand that the method of importing the parent theme stylesheet using @import as described in this article, is no longer best practice

    The plugin seems like an interesting option though.

    Thread Starter csigabiga83

    (@csigabiga83)

    FWIW, I myself made an error in this post, as I actually substituted my theme for Twenty Fourteen in every place possible.

    The code is as such:

    <?php

    /* medicenter functions and definitions*/
    /* Calling parentstyle with several style.css*/

    /*Setting ‘parent-style’ as a dependency will ensure that the child theme stylesheet loads after it.*/

    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘medicenter-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘medicenter-child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array(‘medicenter-style’)
    );
    }

    That being said, your point that not every theme is suited for a child theme is well taken and unless you or anyone else has any insights, I will raise the issue with the support for my theme

    Thread Starter csigabiga83

    (@csigabiga83)

    Update: Something definitely not alright. No images showing on site. I tried to add a logo for example but not showing up

    Thread Starter csigabiga83

    (@csigabiga83)

    OK. Tried that, it makes my site looks like a big jumble of code – both in parent theme and child.

    On the dashboard, it does tell me that the theme requires the plugin that was causing problems.

    Upon changing the plugin name back, I am successfully in the child theme but it looks like a lot of things are missing (the logo, the images on the slider, I don’t want the search bar there)

    Can I just start making changes to the child theme? Can I make them from the WP dashboard and FTP manager (in my child theme) as I normally would and everything is just taken care of?

    Thread Starter csigabiga83

    (@csigabiga83)

    Thanks for your reply. When I try to deactivate, via the WP dashboard, I get the same error message and the plugin doesn’t deactivate or uninstall

    Fatal error: Class ‘Vc_Grid_Item_Editor’ not found in /home/dentis81/public_html/dev/wp/wp-content/plugins/js_composer/include/autoload/vc-grid-item-editor.php on line 254

Viewing 7 replies - 31 through 37 (of 37 total)