Change title layout?

Change title layout?

ដោយ Debbie McDonald នៅ
ចំនួនតប៖ 4

Is there a way to remove the title and subheading from a lesson? I would like that to fall within the area I am designing.

ឯកសារភ្ជាប់ Untitled-1.jpg
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Debbie McDonald

Re: Change title layout?

ដោយ Joseph Rézeau នៅ
រូបភាព Core developers រូបភាព Particularly helpful Moodlers រូបភាព Plugin developers រូបភាព Testers រូបភាព Translators

Hi Debbie,

Unfortunately you do not say which version of Moodle you are using. So I'll assume Moodle 2. One easy way to achieve what you want without hacking your moodle core files is to add just 2 lines to one of your current theme's CSS files.

#page-mod-lesson-view #page-content h2.main,
#page-mod-lesson-view #page-content h3.main  {display:none;}

See attached result.

Joseph

ឯកសារភ្ជាប់ 01-08-2012 09-39-52.jpg
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Joseph Rézeau

Re: Change title layout?

ដោយ Joseph Rézeau នៅ
រូបភាព Core developers រូបភាព Particularly helpful Moodlers រូបភាព Plugin developers រូបភាព Testers រូបភាព Translators

Hi Debbie,

Did you use my solution? Did it help?

Joseph

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Joseph Rézeau

Re: Change title layout?

ដោយ Debbie McDonald នៅ

Hi Joseph, it did! Now I need to apply it to our other site. I apologize for the delay in response but your answered solved my issue so I was on to the next. Thank you very much for your assistance, this works!

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Debbie McDonald

Re: Change title layout?

ដោយ David Kimball នៅ

Joseph, I added this code to my core.css file within my Contemporary theme.  Is there a different way for 2.7?


David

មធ្យមភាគនៃរង្វាយតម្លៃ: -