Edit glossary pop-up width

Edit glossary pop-up width

by Sallie Draper -
Number of replies: 2

I asked this question last week in the Glossary module forum but got no response.  I wondered if someone on this forum would be willing to help me with this?  Thanks!

***************************************

We've just installed a custom site theme on our site - WELS.net University - and I'm having problems with the header image display in the glossary pop-up windows.  The image is too wide for the pop-up window.  Example:

Currently glossary windows pop up at 600 x 450
current


I need them to be at least 800 wide to accomodate header image
Desired

Unless someone has a better suggestion, I was going to change the default width of the glossary pop-up window to accomodate the image width.  I was hoping someone could tell me which file/where to edit to change the pop-up window width for glossary.

Thanks!

Sallie

Average of ratings: -
In reply to Sallie Draper

Re: Edit glossary pop-up width

by Patrick Malley -
The easiest fix is to hide your header in these popups. Showing the header here is a waste of space, in my opinion.

Here is the CSS I added that got rid of this problem:


#mod-glossary-showentry #header {

display:none;

}


Otherwise, you will have to edit the script that determines the width of glossary popup windows - which I don't recommend (lost in upgrades, a pain to find, etc.)
Attachment Picture_10.png