• Hello,

    Brand new Pro Member here. I’ve finally managed to get the s2member login widget to appear on the right side of my header using the short code. Unfortunately the full widget is too long and unbalances the top of my site.

    Is it possible to set the widget so that only the ‘username’ and ‘password’ boxes, and the ‘log me in’ button appear? If I could get rid of everything else it would be just the right size.

    This is my first site so I don’t have much experience with code.

    Any help would be very much appreciated.

    https://www.ads-software.com/plugins/s2member/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you use CSS? And what theme are you using?

    Thread Starter goonsbury

    (@goonsbury)

    Hi KTS915

    I’m using the Pytheas theme and I have been able to make some tweaks to the style CSS and Header.php despite being a newbie.

    My site is: https://planningnavigator.co.uk/about/

    I managed to get rid of the main title by inserting the following code in my header.php (as suggested on this thread https://www.s2member.com/forums/topic/s2member-widget-without-titles-in-php/):

    <?php echo s2member_pro_login_widget(array(‘title’ => NULL, ‘profile_title’ => NULL)); ?>

    Now I just want to get rid of the ‘membership login’ title, the ‘sign up now / forgot password’ links, and the ‘remember me’ box

    Many thanks

    Tom

    To identify the elements you want to hide, right-click on them (using Firefox or Chrome) and select Inspect Element. Then right-click on the most specific element title that appears, and click on Copy Unique Selector.

    Paste that into your CSS file. Do that for each element you want to hide, placing them in a list with a comma between them but not after the last one. Then add at the end {display: none;}

    Then save your updated CSS file. If you refrsh your browser, the elements should now be invisible.

    Thread Starter goonsbury

    (@goonsbury)

    Thanks KTS915 – much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adjust the login widget’ is closed to new replies.