Lesson Branch Alignment CSS

Lesson Branch Alignment CSS

by d morte -
Number of replies: 2
Hello,
I recently started modifying the Piranah theme on Moodle 1.9.7 and have run into a minor glitch.

The "jump" buttons below the branch in a lesson are not centered. I have scoured the CSS and can't seem to find where this is located.

The strange part is that the same buttons for questions in the lesson are centered, just not the branch table ones.


Attachment buttons.JPG
Average of ratings: -
In reply to d morte

Re: Lesson Branch Alignment CSS

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hello,
I don't know why it's doing this, probably some CSS style proprietary to the piranah theme. Anyway, here is a solution which I have tested and it works. At the end of the piranah.css stylesheet simply add those lines:
.branchbuttoncontainer {
text-align: center!important;
}
Joseph
Attachment image00.jpg
Average of ratings: Useful (1)
In reply to Joseph Rézeau

Re: Lesson Branch Alignment CSS

by d morte -
Beautiful! It worked flawlessly, thank you!