Upgrading to XStore 5.0 Beta – no child theme folder

This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow

  • Avatar: themadguru
    Robert
    Participant
    September 5, 2018 at 20:47

    Hi

    I am upgrading to XStore 5.0 beta. I have downloaded the theme files, but there is no child theme folder. Should I use my existing one from v4.28.1?

    I ask because this looks like a major update when I look at the long list on the Changelog, and I’m not sure if you have any changes to the child theme at all?

    Regards

    3 Answers
    Avatar: themadguru
    Robert
    Participant
    September 5, 2018 at 21:18

    I will try and update offline first.

    Avatar: themadguru
    Robert
    Participant
    September 5, 2018 at 23:01

    Just updated the theme from v4.28.1 to v5.0.b on an offline site for testing purposes. I also updated the XStore Core plugin that came with the download. I noticed the following problems with the site after the update and after clearing the browser and CDN cache:-

    1) The top and bottom padding for breadcrumbs no longer had an effect. The padding after the update appeared a lot thinner, despite the setting being the same. I had these settings:

    Breadcrumbs padding: Top: 3.14em, Bottom 3.14em. sides left as default.

    2) In the Top Bar area, on the right-hand side, I had social icons which were separated with line separators. These separators disappeared and the icons appeared smaller in size.

    3) On the left-hand side of the Top bar, I have two widget: the “WooCommerce Currency Switcher” and GTranslate. For both, I use a simple drop-down menu. These now appear different with a 1px border around them. I have noticed when inspecting the code behind it that this has caused the change:

    select, .select2.select2-container--default .select2-selection--single {
        padding: 0 2.9em 0 1em;
        cursor: pointer;
        color: #888888;
        height: 2.642rem;
        line-height: 2.642rem;
        max-width: 100%;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: left;
        position: relative;
        border: 1px solid #e1e1e1;
        background-color: transparent;
        border-radius: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-position: calc(100% - 12px) 50%;
        background-repeat: no-repeat;
        background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…41LDEtMS4zLDEtMi4xQzk5LjksMjYuNiw5OS42LDI1LjgsOTkuMSwyNS4zeiIvPjwvc3ZnPg==);
        background-size: 10px;
    }

    I am able to fix this myself with custom css.

    4) When I click on the Main menu to select a page, I used to see the current Menu item underlined to show its active. This no longer works.

    5) On the Blog page, I only have one news item. The footer (created with a Static Block) overlaps the bottom of the sidebar on the Blog page. I think this error actually happened before anyway, but worth pointing out.

    The whole site functions, but just looks different in many places. Upgrading seems to have lost many styling options, even though, like the Breadcrumbs Paddings – which are set – do not work.

    I do not recommend others upgrading until all the problems are fixed. I have seen support suggest that v5.0 beta is stable and advising people to update already. I do not agree.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 6, 2018 at 14:28

    Hello,

    Child theme code should be a little bit different because of optimization option

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    	if ( class_exists('Redux') && etheme_get_option('et_optimize_css') ) {
    		wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/xstore.css');
    	}
    	else {
        	wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array('bootstrap'));
        }
    
        if ( is_rtl() ) {
        	wp_enqueue_style( 'rtl-style', get_template_directory_uri() . '/rtl.css');
        }
    
        if ( class_exists('Redux') && etheme_get_option('et_optimize_css') ) {
        	wp_enqueue_style( 'child-style',
    	        get_stylesheet_directory_uri() . '/style.css',
    	        array('parent-style')
    	    );
        }
        else {
    	    wp_enqueue_style( 'child-style',
    	        get_stylesheet_directory_uri() . '/style.css',
    	        array('parent-style', 'bootstrap')
    	    );
    	}
    }

    1) We don’t have this issue. Can you provide us temporary access to your Dashboard to check and find the reason of the problem?

    2) We made a lot of CSS changes and made many elements more simple in version 5.0, so if you prefer the old styles for some elements it’s possible to get them back by additional CSS customization. We can do it for you once you provide access to Dashboard.

    3) ok.

    4) Unfortunately, this underline was also removed. But we’ll pass your request to add it back. Maybe the official release of 5.0 version will have the option to add that.

    5) Do you have fixed footer option enabled? Either disable it or set bg color for the container (Theme Options > Styling > Container Background Color)

    Many things were re-styled if you check the updated demo https://xstore.8theme.com/ , styles were improved to make the user experience for the clients’ customers better and handier.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Upgrading to XStore 5.0 Beta – no child theme folder’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.