Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rfgoetz

    (@rfgoetz)

    Hmm.. the URL above gives me a 404 error.

    Thread Starter mpegler

    (@mpegler)

    Sorry about that. I had to relocate the site. It is live at https://www.bluehawaiiphototours.com

    Thanks.

    Plugin Author rfgoetz

    (@rfgoetz)

    It looks like you are adding the link via php:

    <span class="class1"> <a href="https://www.bluehawaiiphototours.com/policies/">Our Policy</a> </span>

    You could change it to add a style. Like this to get the color you want:

    <span class="class1"> <a href="https://www.bluehawaiiphototours.com/policies/" style="color:#ffffff;">Our Policy</a> </span>

    Or you could change the color by adding class1 via your themes’ CSS file. This will allow you add a :hover attribute to change the color when someone hovers over the link. Looks like you are using the Ronika theme. So find that folder and edit the style.css file.

    Let me know if this solves it for you,

    Bob

    Thread Starter mpegler

    (@mpegler)

    Thanks for the reply! I knew it was a simple issue! We were close but I found that the style had to come before the href. Here is the code I used to solve my problem.

    In the AFTER PHP area I added the following:

    ?>
    <a style="color: #ffffff"; text-decoration: underline; href="https://www.bluehawaiiphototours.com/policies/" > Our Policy</a>  <?

    Bam! Thank again for your help and the great plug-in.

    Plugin Author rfgoetz

    (@rfgoetz)

    Glad it is working for you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘apply CSS styles to PHP text’ is closed to new replies.