• Hello there,

    So I am a complete noob, and I am learning as I go along. However this issue has totally thrown me off guard.

    I have a button which says “Apply” on it and I have used firebug to find the code for it:

    <input type=”button” value=”Apply” class=”application_button”>

    But I need it to read “Apply If Logged In”

    So I did an edit using firebug to this:

    <input type=”button” value=”Apply If Logged In” class=”application_button”>

    and it works great, but now how can I edit my child theme style sheet or functions file so it reads correctly.

    Any help would be awesome, I would really appreciate it.

    Thank you in advance

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can’t change code with CSS, only change the appearance. Normaly you would use Jquery to replace the element and exchange it with what you wanted.

    What you can however do is use CSS add content function to add Logged In text to it, specify the size of the content in pixels, and then change the size of the apply text to extreemly small and make its color transparent so you can’t see it.

    This is intermediate CSS and you said you are a beginner, so if you link me your website I will show you the code to do it.

    Cheers,
    -Adrian

    Thread Starter vp229

    (@vp229)

    Thanks so much for getting back to me Adrian I really appreciate it.

    So the site is https://bit.ly/OyVdDP and the pages I need to change it on are for example https://bit.ly/1lOkubE (the apply button on the right hand side)

    Is there some place you could recommend me to learn CSS better please?

    Thanks again Adrian

    Thread Starter vp229

    (@vp229)

    I used bitly so that my site URL is not indexed by google I hope you dont mind

    Oh dang I messed up. 1.We would not need to hide the old text, just add on “if logged in”
    2. But unfortunately this is not a link, it is an input button and so the value cannot be changed with CSS.

    But if you wan’t to learn more about CSS I have listed all my favourites in this section of my website: [Moderator note: You can just list those links here] (see below)

    Thread Starter vp229

    (@vp229)

    Thank you kindly for trying Adrian,

    I really do appreciate it.

    I saw your site, nice work, the pink doesn’t bother me ??

    Thanks for the sites as well.

    You really learned to program in a month? wow!

    No problem. Were did I say that? I have been studying for 4 months, and am still learning everyday.

    And mr moderator I only linked my page because it has supporting text for each link; but I guess sense it has my services on it then its not appropriate. At some point I will get two websites.

    Thread Starter vp229

    (@vp229)

    I saw it on your site “by the end of the month had learned the basics of html, CSS, PHP, JavaScript, and SQL.” ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Noob Theme Edit changing button text’ is closed to new replies.