Skip to:
Content
Pages
Categories
Search
Top
Bottom

customize the login page

  • Avatar of Famous
    Famous
    Participant

    @famous

    How do I customize the login page? I created a template page like so:
    page-mypagename.php

    went to the login page under pages and clicked on mypagename from the drop down, but it does not take any of the CSS that I provided. I remember someone saying it won’t work till version 1.8. Is that true and if so since its here, how do I do it?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    ? where are you creating that page, as written you are describing a WP named ‘page’ template, I think you need to read the provided guides on theme compatibility in the codex. BP pages are virtual i.e created as empty pages, titled as you wish. If you want to modify BP templates then you must follow the structure and paths outlined in the codex guides.

    Avatar of Famous
    Famous
    Participant

    @famous

    Okay let me re-phrase that, can you point me in the direction of templating virtual pages (such as the login page) on buddypress?

    Thank you

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @famous There isn’t really such a thing as the ‘login page’ so you’ll need to explain what page you mean exactly.

    If wanting to modify and customize BP then in respect of the BP template files it’s important to understand how theme compatibility works, how the template hierarchy is configured and what paths/folders templates must be placed under.

    These two guides will help you understand what can & can’t be done, read those then some aspects will be clearer for you.

    http://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/

    http://codex.buddypress.org/developer/theme-development/template-hierarchy/

    We’ll be able to help more effectively when you have read those.

    Avatar of Famous
    Famous
    Participant

    @famous

    Okay let me re-phrase again, how do I change the CSS for the register/login virtual page? I already read the codex on page templating, but as you said this is a virtual page. Does anyone know if a virtual page can be manipulated? Just one, not all of them.

    Thank you

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    the pages have templates that are called when that page url is accessed those templates are editable, copied over to your theme or child theme, then it’s simply a case of adding the styles you would like. The templates and their location are outlined in those guides, for instance registration lives in /members/

    Avatar of Famous
    Famous
    Participant

    @famous

    That’s the answer I was looking for:

    for instance registration lives in /members/

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.