Increase width of TOC in book

Increase width of TOC in book

by Graham Clark -
Number of replies: 4

How do I increase the width of the Table of Contents in a book? I'm using Moodle 1.9.9+. Thank you.

Average of ratings: -
In reply to Graham Clark

Re: Increase width of TOC in book

by Itamar Tzadok -

Site Administration -> Modules -> Activities -> Book. smile

In reply to Itamar Tzadok

Re: Increase width of TOC in book

by Graham Clark -

Thanks Itamar. I don't suppose there's some way of editing a Table of Contents such that I can have any width I want? In particular, I'd like my Table of Contents to be about 310 pixels wide.

In reply to Graham Clark

Re: Increase width of TOC in book

by Itamar Tzadok -

You should be able to do that by the book's css if you add

width:310px;

to the class definition

.book_toc_none

around line 50 in mod/book/styles.php

smile

In reply to Itamar Tzadok

Re: Increase width of TOC in book

by Graham Clark -

Thanks Itamar. I'll give this a go and let you know how I get on. Thanks again.