Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX OpenLab Support

Public Group active 1 year, 1 month ago

Have a question about Commons In A Box OpenLab, our new platform for open learning? Join the group and post your question here. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Help does not show in top menu when logged out of the OL

  • This topic has 9 replies, 4 voices, and was last updated 4 years, 5 months ago by Bree.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 7, 2020 at 4:14 pm #8675
    S.G.
    Participant

    Help does not show in top menu when logged out of the OL (see screenshot 1); it appears when logged in (see screenshot 2).
    Help does always show in bottom menu (see screenshot 3).

    CT’s OL seems to always show help in top menu, as expected, even when logged out (see screenshot 4).

    Any ideas?

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    December 8, 2020 at 8:50 am #8682
    Bree
    Participant

    Hi Syelle,

    This appears to be something specific to your site setup. I can’t reproduce this on our dev site, and it doesn’t appear to be an issue on other installs.

    I’ll reach out about this separately in another message.

    Thanks!

    December 8, 2020 at 9:02 am #8683
    Ed Beck
    Participant

    Hi Bree,

    I can reproduce a disappearing top menu on my site. Using the OpenLab theme:

    The top menu does not always have graceful fallback for mobile responsive.

    • On oneonta.sunycreate.cloud at Laptop Width (1024 px) the top menu is present at usable.
    • When we drop down to iPad Width (768 px) the top menu disappears and is not usable.
    • However, it isn’t until (425 px) that the drop-down alternative to the top menu appears.

    So it appears that there is a gap in the CSS for medium size screens where the top menu isn’t usable but the mobile replacement hasn’t been included. The bottom menu operates on slightly different rules, where the bottom menu will still appear on iPad sized screens, but it will sometimes take up two lines instead of 1.

    (This may be an unrelated issue, but I think it describes why help may appear sometimes and not other times)

    December 8, 2020 at 4:47 pm #8684
    S.G.
    Participant

    Thank you both!

    December 11, 2020 at 4:10 am #8702
    Bree
    Participant

    Thanks so much, Ed!

    I think the Help link problem is not related, but I’ve put in a ticket for the issue you found: https://github.com/cuny-academic-commons/commons-in-a-box/issues/321

    December 14, 2020 at 3:28 pm #8711
    S.G.
    Participant

    Hi Bree,

    Helpful update! I rooted around in our dashboard and figured out that “Help” disappears from top nav when logged out only because it is the last menu item.
    As a temporary fix, I moved “Calendar” to the far right, making calendar now the hidden one (screenshot), so users struggling to log in can now easily navigate to our “log-in” help doc.

    Chris S. looked closer (at webpage source code, I think), and it appears that there is css code (display: none) in our cbox ol that is set to hide “My Profile” from the main nav (which again, instead hides whatever is at the end of the top nav).

    From Chris:
    “The last menu item is removed by CSS that has been added which has a note to hide “My Profile”

    /* =============

    * remove My Profile from main navigation. Right now it is added in as a li in the nav but has no id or class so the last-of-type selector used

    * ============= */

    #menu-main-menu-header li:last-of-type {

    display: none;

    }

    Is there anything we can do to remove that?
    Thank you!

    Attachments:
    You must be logged in to view attached files.
    December 14, 2020 at 3:35 pm #8716
    S.G.
    Participant

    Hi Bree,

    Helpful update! I rooted around in our dashboard and figured out that “Help” disappears from top nav when logged out only because it is the last menu item.
    As a temporary fix, I moved “Calendar” to the far right, making calendar now the hidden one (screenshot), so users struggling to log in can now easily navigate to our “log-in” help doc.

    Chris S. looked closer (at webpage source code, I think), and it appears that there is css code (display: none) in our cbox ol that is set to hide “My Profile” from the main nav (which again, instead hides whatever is at the end of the top nav).

    From Chris:
    “The last menu item is removed by CSS that has been added which has a note to hide “My Profile”

    /* =============

    * remove My Profile from main navigation. Right now it is added in as a li in the nav but has no id or class so the last-of-type selector used

    * ============= */

    #menu-main-menu-header li:last-of-type {

    display: none;

    }

    Is there anything we can do to remove that/stop hiding our last menu item?
    Thank you!

    Attachments:
    You must be logged in to view attached files.
    December 15, 2020 at 9:01 am #8719
    cstein
    Keymaster

    Hi All,

    After a helpful suggestion by Boone I realized that this is a problem that we at BMCC created. We wanted to remove My Profile from the main navigation and added some CSS to do that. This is CSS that we added to our specific install. I’ve removed it but this also means that now My Profile will show in the main navigation when you’re logged in to the BMCC web site.

    I’m going to make a separate post about the main nav. I think this can be considered closed.

    December 15, 2020 at 1:39 pm #8723
    Bree
    Participant

    Thanks for following up, Chris!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX OpenLab Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 22
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register