natejones / wpds

A WordPress digital signage solution that uses Zurb’s Foundation.
http://pixelydo.com/work/wordpress-digital-signage/
GNU General Public License v3.0
105 stars 74 forks source link

Width of Widgets in Dock #70

Open scitexnz opened 7 years ago

scitexnz commented 7 years ago

Hi

Is there any way to change the width of the widgets in the dock? I have the clock on the left, weather on the right, and in the centre I have a classroom countdown which shows a countdown timer to the next school period.

I want the centre widget to be wider as some of the text is being cut off.

I've been through the php files for the theme and can't see an obvious place to change this.

Cheers

scitexnz commented 7 years ago

If anyone is interested in how to change the width of the widgets in the doc this is how you do it. Add the code below to the section in header.php

This will make the sizings 28%+44%+28%=100% - an arbitrary choice, adjust as necessary.

Thanks to Jamie McClymont from http://kwiius.com for working this out for me!