• Resolved trance4eva

    (@trance4eva)


    Hey there,

    It is possible to make hueman full visible at 1024×768 reolution? There are people who use this resolution, for some reason ??
    This is a very very nice template but i needed to run it for a minimum resolution of 1024×768.
    Sorry for my bad english.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi trance4eva. You’ll need to create a child theme if you’re not already using one. There is a preconfigured child theme on the theme website. See the end of this thread for instructions on how to download it.

    1. Copy the following function to your child theme functions.php file.

    function alx_styles() {
    	wp_enqueue_style( 'style', get_stylesheet_uri() );
    	if ( ot_get_option('responsive') != 'off' ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css' ); }
    	if ( ot_get_option('custom') == 'on' ) { wp_enqueue_style( 'custom', get_template_directory_uri().'/custom.css' ); }
    	wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' );
    }

    2. Change the second line to this so it loads the responsive.css file from your child theme instead of the parent theme.:

    if ( ot_get_option('responsive') != 'off' ) { wp_enqueue_style( 'responsive', get_stylesheet_directory_uri().'/responsive.css' ); }

    3. Copy the responsive.css file from the parent theme to your child theme.
    4. In this section of responsive.css on your child theme:

    /* ————————————————————————- *
    * Toggle Sidebar s2 : 1200px > 480px
    /* ————————————————————————- */

    you will see these two media queries:

    @media only screen and (min-width: 480px) and (max-width: 1200px)
    @media only screen and (min-width: 961px) and (max-width: 1200px)

    5. Change the max-width parameter to 1020px. This should keep the sidebar expanded until the viewport is reduced to 1020px.

    Thread Starter trance4eva

    (@trance4eva)

    Thanks bdbrown for the reply.
    I am a begginer in php so i think i ruined the site :)). It’s a test site but still.
    You told me to copy the code above to functions.php, but when i looked the code from functions.php that sequence is already there.
    I must copy the code in another place or i did not understand quite well:(

    That code is part of the functions.php file in the main Hueman theme. You don’t want to edit the code in the main theme files. That’s why I mentioned above, if you’re not currently using a child theme, you’ll need to create one. If you already have a child theme, and it doesn’t contain a functions.php file, you’ll need to create one. However, a functions.php file is included in the preconfigured child theme available on the theme web site. Check the thread I linked above for instructions on downloading and activating that child theme. Let me know if you have any other questions.

    Thread Starter trance4eva

    (@trance4eva)

    Thank you sir! Your help is much appreciated. I have changed like you instructed me and it works like a charm :).
    What is the size of an image to cover all the header? My image is 1024×127 and is not covering the full header lenght..
    You can check it here

    https://github.com/AlxMedia/hueman-languages/tree/master/outdated is the romanian language file for translation, the question is how to install it?
    Please excuse my english and lots of questions!

    Glad if that’s working. It would be better if you started new topics for each of your other questions. That way other users can more easily find answers to specific questions. If you don’t need any further assistance with this topic please mark it as resolved. Thanks.

    Thread Starter trance4eva

    (@trance4eva)

    Thank you sir! Much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hueman @ 1024 x 768’ is closed to new replies.