Making WordPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3370 closed defect (fixed)

Parts of 'Translate Project' button not clickable

Reported by: garrett-eclipse Owned by: obenland
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:



On any project listing for Translate there's a button at the bottom labelled 'Translate Project' I often click it and find nothing happens because the button isn't linked it's the text within it that's linked.
Code Screen - https://i.imgur.com/pEck8Gb.png
Inspect Button Screen - https://i.imgur.com/SlVzghv.png

There's a few options to make the full button clickable;

  1. Make the A element a block. Note: I found this doesn't fill the entire button.
  2. Wrap the button div in the <a> link element.
  3. Drop the <div> wrapping and move the button classes onto the <a> link element.


Change History (2)

#1 @obenland
4 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6341:

GP: Make all of project button clickable.

H/t garrett-eclipse

Fixes #3370.

#2 @garrett-eclipse
4 years ago

Thanks @obenland

Note: See TracTickets for help on using tickets.