Jump to content
TNG Community
mycroft

Adjust Date Field Width

Recommended Posts

mycroft

Hi, 

I'm sure it's one of the simplest mods ever made, but still... Does anyone have a clue why my page became insensitive to anything I put there as a preferred column width? 

I see in my code that changes are implemented to getperson.php, but still no effect on what can be seen online.  

image.png

Share this post


Link to post
Share on other sites
Michel KIRSCH

if you use the mobile_site mod, the $datewidth is disabled and replaced by the 'eventdatecol' class...

 

Michel

Share this post


Link to post
Share on other sites
mycroft

You're right. Now I see "Mobile Site Enhancements" override it. Now, is there anything I can do about it? I can't see a way to change 'eventdatecol' width manually. 

Share this post


Link to post
Share on other sites
Ken Roy

Update the css definition in your mytngstyle.css for the the class="eventdatecol"

Share this post


Link to post
Share on other sites
mycroft

No idea at all what to do. 
I guess I should edit mytngstyle.css in my template's folder, but what should I put there?

Share this post


Link to post
Share on other sites
Katryne

Hello, I do not know about other themes, but with N° 19, I had to uninstall the Mobile Site Enhancements mod, because it would disturb the display on any larger screens.

Share this post


Link to post
Share on other sites
Michel KIRSCH
On 6/30/2022 at 11:22 PM, mycroft said:

I guess I should edit mytngstyle.css in my template's folder, but what should I put there?

copy this from your css/genstyle.css file :

.eventdatecol {
    width:100px;
}

into your css/mytngstyle.css

and modifiy the 100px (100pixels) value.

Don't forget to clear your cache after each modification !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×