Modifying Book nav arrows

Modifying Book nav arrows

by Ryan Archer -
Number of replies: 3

I've just done a check on the forums and haven't seen this question posted anywhere. Is it possible to modify the icons that come with the Book Module by default? I think the ones I am seeing may be based on the theme I am using (Clean).

I have this HTML code from Google Dev tools: <img src="http://moodle.keystonecollege.com.au/theme/image.php/clean/mod_book/1408146515/nav_next" class="icon" alt="Next"> 

I'm looking in the backend of my Moodle installation with Filezilla but cannot find out where this image is located.

Does anyone out there know how to do this?

Average of ratings: -
In reply to Ryan Archer

Re: Modifying Book nav arrows

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Ryan,

They files for those buttons appear to be in ...yourmoodle/mod/book/pix/ under various names. In the current Moodle 2.7.1+ I am using, they are all png files but they are there in svg format too, which means you could every easily change their shape and or color, very easily.

HTH,

AL

In reply to AL Rachels

Re: Modifying Book nav arrows

by Ryan Archer -

Thanks Al, you are a champion!

It's really hard to read this info from Firebug/Google Dev Tools. I assume this is because the actual css and image references are written via php?

In reply to Ryan Archer

Re: Modifying Book nav arrows

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Yes, I find it much easier to just go look through all the Moodle files. Over the years I have either learned where things are, or the most probable place to find them. If memory serves me correctly, it was along about Moodle 2.4 that they started replacing a lot of the gif images with png files and also included an svg file for each icon that makes it convenient to recolor them and make the look the way you want them to.