CSS Styling on PHP Code Altered for Plug-in
-
Hello – In order to get the PHPEnkoder plug-in to work, the plug-in developer helped me get the PHP code in place on the theme template that creates these ‘Team Members’ pages.
The code being used is as follows:
<?php if(get_field('email_id'))?><li><?php echo enkode_mailto(get_field('email_id'),get_field('email_id'));?><i class="fa fa-envelope"></i></li>
So that part is working now, but unfortunately something about this change made it so the CSS doesn’t work on that element anymore. As you can see (under the phone number), there is now an e-mail address showing and a small envelope icon to the right…
Instead, this is supposed to appear as a blue square with an envelope inside – exactly like the blue square directly to the right with the “in” inside it. And clicking this blue square will launch the ‘mailto’ function.
My problem is that I’m not sure if the way to fix this is to change (or add to) the existing CSS, or to change the PHP code itself to make that element fall back into the existing CSS rules.
Either way, any advice will be greatly appreciated on this!
– Jim
The page I need help with: [log in to see the link]
- The topic ‘CSS Styling on PHP Code Altered for Plug-in’ is closed to new replies.