Link in table, not centered in article

Phoca Download - download manager
claven123
Phoca Member
Phoca Member
Posts: 32
Joined: 31 Oct 2013, 19:11

Link in table, not centered in article

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2857
Joined: 28 Nov 2010, 17:20

Re: Link in table, not centered in article

Post 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
Post Reply