Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #340524

    Hey!
    I’m going to need a private page in the site (for medical content that can be seen only by professionals). I need something VERY simple, just a unique password to enter (that I can enter myself in the WP admin -> for the related page). See on my private link the message that appears (in french). Is there a way to change a little the content of this message IN my child theme ? I prefer not to touch to WP files or Enfold native… for updating reasons.
    Here is a capture I found on the support forum (in english)

    Let’s say I would like to put instead :
    “This content is password protected. To view it please enter your password below, or contact us by mail.”

    Can I change that easily and how ? possible on my child theme ?
    Won’t that cause any trouble ?

    Thanks a lot for your help!
    Best regards,
    Marie

    #340889

    Hey Marie!

    Thank you for using Enfold.

    Please refer to this link on how to edit the password protected message:

    http://codex.wordpress.org/Using_Password_Protection#Customize_the_Protected_Text

    Cheers!
    Ismael

    #341024

    Great !!! Thank you thank you Ismael :)
    I made my changes.

    Last question : if I want to have a bigger font size, line-eight and button what class should I put in my child css file ?
    Thanks for your help, once again!

    Regards,
    Marie

    #341657

    Hi!

    Please see – http://kriesi.at/documentation/enfold/change-the-default-font-size/
    What exactly would you like to change “line-eight and button”?

    Best regards,
    Yigit

    #341667

    FOR INFO : not urgent at all…

    Hey Yigit!
    Well… I would have liked to have a bigger font size for “my custom message”, have more vertical space between “my message” and the “mot de passe” label… and also a bigger button (styled like the one on my contact page for example). And also – eventually – have all elements centered in the page.
    But at he same time I don’t want those changes to “impact” on other contact forms of the theme… is this workable ?
    Actual font size of my “custom message” seems to be the same than the contact form one on my contact page… that’s why I’m asking this… -> Is there a way to have a bigger font size for my “custom message” on this page, without impacting the one other contact forms used on the site… ?

    Thanks in advance Yigit!
    Cheers!
    Marie

    #342715

    Hi!

    Please add following code to Quick CSS

    .page-id-557 form { font-size: 16px; }
    label[for="pwbox-557"] { margin-top: 15px; }
    input#pwbox-557 + input[type="submit"] { padding: 14px; min-width: 120px; font-size: 18px; border-radius: 5px; }

    Regards,
    Yigit

    #342764

    Ha ha !! Thank you ‘Grand Master Yigit’! :))
    I have been able to adjust details as I wanted but I would never have been able to find all that semantic around…

    This is a test page, so this “private message access” is going to be applied to another page but I don’t know which one at this stage : when I will “apply” it to the good page I will just have to change the page ID, right?

    Thank you so much again…
    Cheers!

    Marie

    #342765

    Hi Marie!

    Exactly. You can right click on Chrome or Firefox to inspect elements to find page ID’s http://i.imgur.com/HyPTCRg.jpg

    Regards,
    Yigit

    #342783

    Great. Thanks!
    One last question for that thread. I’d like to insert a link on “formulaire dédié” (see my page) that would bring direct to the good section on the “Contact” page. I’ve tried to insert a <a href="site/page/#section">formulaire dédié</a> inside my custom message in my child functions.php file but it doesn’t seem to work… Do links have to be written differently in a php file ?

    Thank you Yigit!

    Marie

    • This reply was modified 9 years, 6 months ago by Marie.
    #342786

    Hi!

    Do you mind creating a temporary admin login and posting it here privately?

    Cheers!
    Yigit

    #342802
    This reply has been marked as private.
    #344055

    Hey!

    Please review your website now Marie

    Regards,
    Yigit

    #344074

    Hey!
    This is great thank you so much Yigit!
    Best regards,
    Marie

    #344079
    This reply has been marked as private.
    #344081

    Bonjour!

    You are welcome Marie, we are always glad to help. I actually did not edit descriptions, i just copied your code, edited and pasted back. Well, thank you for your kind words anyway :)
    Have a great weekend!

    Best regards,
    Yigit

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Password protected page’ is closed to new replies.