Moodle

Jump to navigation menu misaligned in Lesson

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.3, 2.0
  • Component/s: Course, Lesson
  • Labels:
    None
  • Environment:
    standard white theme (maybe others too)
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

See screen shot attached.

Displayed as normal in other activity types

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Confirmed... and seems to be a problem coming from standard down to all themes. And only when you have one page created in the lesson, when the "Edit this page" button is showed (preview tab) (doesn't happen if no pages have been created or with other tabs).

Assigning to Nicolas.... TIA. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Confirmed... and seems to be a problem coming from standard down to all themes. And only when you have one page created in the lesson, when the "Edit this page" button is showed (preview tab) (doesn't happen if no pages have been created or with other tabs). Assigning to Nicolas.... TIA. Ciao
Hide
Katja Krüger added a comment -

We had the problem too, Thanks for the hint with the standard layout: the Problem is in : standard/styles_layout.css where there are the definitions ***Lesson it says : #mod-lesson-view .invisiblefieldset {
display: block; ...
when you overwrite this with display:none in your own styles, every thing looks o.k.

Grüße K.

Show
Katja Krüger added a comment - We had the problem too, Thanks for the hint with the standard layout: the Problem is in : standard/styles_layout.css where there are the definitions ***Lesson it says : #mod-lesson-view .invisiblefieldset { display: block; ... when you overwrite this with display:none in your own styles, every thing looks o.k. Grüße K.
Hide
Katja Krüger added a comment -

hi again, to write display:none in your own style was a really stupid idea, because you cannot see the answers in multichoice questions anymore.

You can overwrite the standard/styles_layout.css . Where there is 'Lesson' and it says :
#mod-lesson-view .invisiblefieldset { ...
write : #mod-lesson-view #content .invisiblefieldset {

than the display:block is not anymore the problem in the navigation

Grüße Katja

Show
Katja Krüger added a comment - hi again, to write display:none in your own style was a really stupid idea, because you cannot see the answers in multichoice questions anymore. You can overwrite the standard/styles_layout.css . Where there is 'Lesson' and it says : #mod-lesson-view .invisiblefieldset { ... write : #mod-lesson-view #content .invisiblefieldset { than the display:block is not anymore the problem in the navigation Grüße Katja
Hide
Teresa Gibbison added a comment -

I have found this issue also - this affects our copy of the Features Demo lesson which contains more than one page.
Your suggestion of adding '#content' into the line as above corrects this problem with us.
Many thanks
Teresa

Show
Teresa Gibbison added a comment - I have found this issue also - this affects our copy of the Features Demo lesson which contains more than one page. Your suggestion of adding '#content' into the line as above corrects this problem with us. Many thanks Teresa
Hide
Nicolas Connault added a comment -

Applying Katja's fix. Thanks!

Show
Nicolas Connault added a comment - Applying Katja's fix. Thanks!
Hide
Petr Škoda (skodak) added a comment -

invisible fieldset strikes again, thanks for fixing

Show
Petr Škoda (skodak) added a comment - invisible fieldset strikes again, thanks for fixing

Dates

  • Created:
    Updated:
    Resolved: