Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Add CSS Class to a WordPress String Reply To: Add CSS Class to a WordPress String

#203061
Alen
Participant

Maybe

wp_register('<li class="menu-item wp-register-link">', '', false)

<li class="menu-item wp-logout-link">' . wp_loginout(get_site_url(), false)

notice the additional classes wp-register-link and wp-logout-link

Then just target them with CSS.

Hope that helps
Alen