Totara Learn Open Discussions

Course Banner Sizing

 
Karen Miller
Course Banner Sizing
by Karen Miller - Monday, 1 July 2019, 7:16 AM
 

Is there a recommended (or preferred) pixel size for a course banner that works well? For instance, 800 x 300 or 900 x 200.

Max Waluk
Re: Course Banner Sizing
by Max Waluk - Tuesday, 2 July 2019, 9:33 AM
 
I am by no means an authority on this subject, but assuming you're uploading an image and adding it to the top of a course in the summary section, here is my recommendation based on my experience:

1. When uploading, leave the width at the default setting. You can change it after the image has been added.

2. Once the image has been uploaded, open the HTML for the section you're editing by clicking the "<>" button in the editor.

3. Change the width of the image to "100%" instead of the number of pixels and remove the height. This will ensure that the image always goes all the way across regardless of the window size.

4. After the image has been uploaded make sure that in the HTML it is using the "pluginfile.php" image URL and not the "draftfile.php" one as I have had issues with images breaking if I don't switch the files.

5. To get the pluginfile address from the draftfile, simply right click on the image in Totara and copy the image address. You can also get it by right clicking and opening the image in a new tab (I am doing this in Chrome). Once you have the URL, replace it in the HTML.

Here's an example of an image source with these settings for your reference. Hope this helps!


 

This forum post has been removed
Wednesday, 3 July 2019, 1:56 AM
The content of this forum post has been removed and can no longer be accessed.