Jump to content
TNG Community

Adjust Date Field Width


mycroft

Recommended Posts

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

Link to comment
Share on other sites

Michel KIRSCH

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

 

Michel

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
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 !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...