Home Forums Theme support [orion theme] mobile version problems

This topic contains 6 replies, has 2 voices, and was last updated by  7Theme Support 3 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Hello!
    I have a problem with a mobile version of my site, here’s a link:
    http://test.gravityweb.pl/gravity/

    Quickgallery doesn’t work properly on the homepage and portfolio on Portfolio page also works poorly.

    It’s not the only theme that I bought from you and I must admit that all your themes have problem with mobile versions, I am not really happy about that 🙁

    Kind regards

    I’ve disabled temporarily style.css of my child-theme so that you would see that it’s not the problem with my CSS file. As you can see the grid is totally broken for mobile devices… but in your demo everything works fine.

    The problem is your child-theme, please check your source code then you know what I mean. The css files order is not correct. Please use child-themes only if you really know what you do and if you know how you have to call the style and javascript files, else you’ll have always problems with child-themes, just search in Google for that, you are not alone with this problem…

    Hello, thanks for the reply.
    So could you tell me what did I wrong? Because the only two files that I have in my child theme are style.css, which is exactly:
    /*
    Theme Name: Gravityweb
    Template: orion
    */

    and functions.php, which is exactly (according to WordPress Codex):
    <?php
    function my_theme_enqueue_styles() {

    $parent_style = ‘parent-style’;

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style )
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    ?>

    And that’s all. So what can be wrong here??

    The problem is that WordPress load always first the style.css file of your child-theme, then all other stylesheet files and then, after all, the original style.css file of the parent theme. This will always overwrite the changes you made in your child-theme and all stylesheet rules of the other files. I’m sorry, but that’s the way WordPress set up the child themes. Just check Google, all other have the same problem. For this I told you that it’s better to use child-themes only if you know what you do, because you have to sort the different stylesheet files manually.

    I don’t really get it here. Who has such problems? People buying themes from 7Theme? Because I’ve never had such a problem before with other designer’s themes. It’s obvious why people want to use child themes – to write their own CSS classes or functions and don’t loose all the changes after theme update. So maybe your themes have some issue with that to prevent people from making child themes? Why don’t your themes work even with ‘clean’ child-themes, without any CSS classes or functions in function.php?

    https://www.google.it/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wordpress%20child%20theme%20problem%20style.css

    Please take a look at your source code, than you know what I mean, mainly the style.css file of the parent theme.

    I know why use make child themes, it’s a great idea, but it’s not the problem of our theme if WordPress call the parent style.css file at the end and overwrite all stlyesheet files before, for example those with the responsive css code.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.