Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter JackGraal

    (@jackgraal)

    I’ve found some lines of code in the responsive.css file, but I don’t know what should I change to achieve the desired effect.

    Hey Jack,

    In responsive.css, in the beginning of the file, locate:

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

    And also, below that:

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

    Then remove this from both:

    and (max-width: 1200px)

    And you should have Sidebar secondary (s2) always collapsed.

    The sidebar-top may be still colored though in the beginning.

    Thread Starter JackGraal

    (@jackgraal)

    Unfortunately it does not work. I changed it in my child theme, should i change it also in the main Hueman theme?

    Try copying over the whole alx_styles function from functions.php to your child theme’s functions.php (without the !function_exists and add_action parts), then change this line in it:

    if ( !ot_get_option('responsive') ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css' ); }

    To:

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

    And put the modified responsive.css in the child theme’s root dir.

    Thread Starter JackGraal

    (@jackgraal)

    It worked ?? Thanks for help

    Could you also tell me how to move this sidebar to the left side of the page? If I use one of these layouts in theme options the s1 sidebar goes to the left side and the s2 sidebar stays on the right side.

    I’d like to have the s1 sidebar always on the right side, and the s2 sidebar collapsed on the left side.

    Beyond what I can help with, sorry. It’s quite a headache to start modifying those positions. It involves new background images and quite a bit of css changes. Feel free to give it a shot though ??

    Thread Starter JackGraal

    (@jackgraal)

    Now I see that it would be in conflict with my floating social bar anyway

    Thanks for help again and keep up the good work ??

    Thread Starter JackGraal

    (@jackgraal)

    Hi again,

    I was using Hueman v.2.0.8. Today I’ve updated to 2.1.1 but the whole trick from this topic doesn’t work anymore so I had to go back to 2.0.8.

    The whole theme stopped being responsive.

    Could you help me?

    Hi,

    Change:

    if ( !ot_get_option('responsive') ) {

    To:

    if ( ot_get_option('responsive') != 'off' ) {

    Thread Starter JackGraal

    (@jackgraal)

    Thanks, it works again ??

    Just an addition to a question on how to move the ‘more’ sidebar to the left:
    in the SIDEBARS section of THEME OPTIONS, you can select which sidebar is the ‘primary’ and which is the ‘secondary’.
    Putting ‘primary’ as the secondary, and viceversa, just does the trick. (switching primary and secondary in the two fields)

    addendum: to further personalise the sidebars, the theme has the function ‘create sidebars’ – but I do see that the social icons always stay in ‘primary sidebar’ and the other sidebar always says ‘more’ (and this is where I wanted the navigation), independently of what you define… So if you say the ‘primary’ is secondary, and viceversa ‘more’ is primary, the content will move as wished but the social icons want to stay in primary no matter what you define primary to be.
    So yes, having navigation to the left (and collapsed) won’t work if you want the socials visible. But a separate plugin can show these anyway.
    It’s a bit convoluted, I hope I’m understandable. Testing it out in the theme options is much easier and will show the problem.

    Hi, I am fairly new to wordpress but seem to be doing well so far. My problems are getting my social icons on and also i cannot seem to get my side bars working at all. I want the same feel as per live preview with recent and most popular posts on the sides. Please help. My website is

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to make secondary sidebar allways hidden?’ is closed to new replies.