Page 1 of 1

Link in table, not centered in article

Posted: 29 Aug 2019, 02:06
by claven123
I have a link set up in a table in an article. The output text in the article is not centered. I'm using custom css via the template. Is this something I can force with phoca download or is this a template custom css issue?

Code: Select all

			<td>
			  <span class="first">DECEMBER</span> 
			  <span class="second">{phocadownload view=file|id=2|text=DEC 7, 2019|target=s}</span> 
			  <span class="last">{phocadownload view=file|id=2|text=Feb 7, 2019|target=s}</span>
		  	</td>


d

Re: Link in table, not centered in article

Posted: 29 Aug 2019, 10:48
by christine
Hi,

Why in a table? Ususally there are divs. But without seeing it, it's difficult to know, what you mean.

Find out with inspector, which line is responsible for the output and put changed segment into your custom.css.

Code: Select all

.phocadownloadfilelist {
text-align:center;
}

Code: Select all

table td {
text-align:center;  
}
above are examples only!

Kind regards
Christine