Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Align description & date

17 Aug 2022, 05:04

Hi Carl, I have two questions. 

First, I want to left-align only the description.  
2AD40176-29F9-4B45-8E22-247F26D4223C.jpeg
2AD40176-29F9-4B45-8E22-247F26D4223C.jpeg (259.1 KiB) Viewed 1179 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Align description & date

17 Aug 2022, 05:35

TristanJo wrote:First, I want to left-align only the description.
That will look strange unless your description is long, and even then I can't be sure ...
Image
In Settings > Custom > Custom CSS, add this:
Code
.subheader {
  text-align: left;
}
TristanJo wrote:Second, I want the date specified to be displayed. (y.m.d) Z
Go to Settings > Advanced > Date Format, and replace "timeago" with another format or add a custom format.
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: Align description & date

17 Aug 2022, 05:43

mjau-mjau wrote:
TristanJo wrote:First, I want to left-align only the description.
That will look strange unless your description is long, and even then I can't be sure ...
Image
In Settings > Custom > Custom CSS, add this:
Code
.subheader {
  text-align: left;
}
TristanJo wrote:Second, I want the date specified to be displayed. (y.m.d) Z
Go to Settings > Advanced > Date Format, and replace "timeago" with another format or add a custom format.
Code
.subheader {
  text-align: left !important;
}
!important works~ thx karl~