• Resolved ohliza

    (@ohliza)


    I want to change the background, colors etc on the member detail page only. Not replace, add – the admin wants a nicely printable version for each member.

    What template is being used there? It does not appear to be ultimate-member/templates/members.php – that looks like the list of members.

    I just want a clean printable version for each user page.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ohliza

    The default profile template is /ultimate-member/templates/profile.php

    You can create your custom profile template, please see this doc article: https://docs.ultimatemember.com/article/120-adding-your-custom-profile-templates

    Regards,

    Thread Starter ohliza

    (@ohliza)

    Thank you.

    I need this to be in addition to the normal profile template, just for admins to use. We do not have a public member directory at all, but users can edit their own profiles.

    Essentially I want a pared down, simple version of the member directory just for admins to use to view and print member profiles without all the design stuff on the public facing profile page and member directory.

    As I look at profile.php, it’s not really an entire page that i can turn into a new template is it? I figured I’d make my changes to a new css file and have it use that one instead of the default, but profile.php doesn’t even call a css file as it has no <head> tag.

    So maybe the answer is to just create some css classes (white background, black text, etc), reproduce the member directory and profile pages and call the css classes based on the (new) page ids, rather than create new templates?

    I had been thinking to create a new page with the css I want (so maybe based on the new template), and simply embed the form shortcode into that new page. Is tha the wrong approach?

    Thank you.

    • This reply was modified 3 years, 5 months ago by ohliza. Reason: added line
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ohliza

    You can try this tutorial to customize the Member Directory template.

    Regards,

    Thread Starter ohliza

    (@ohliza)

    Thanks, but it’s not really doing it for me. I am fine with all the data on the page, just want to point different css to it. I can do that with the member directory page via pageid in my css, just can’t figure out how to do it with the profiles.

    Thread Starter ohliza

    (@ohliza)

    At this point I’m OK with making all the member profiles share some css so they are printable. But I cannot figure out how to target css to profiles, I’m only able to do it with pageid and user profiles do not appear to have a pageid.

    Help?

    • This reply was modified 3 years, 5 months ago by ohliza.
    Thread Starter ohliza

    (@ohliza)

    This is exactly what I need:

    https://docs.ultimatemember.com/article/1386-ultimate-member-profile-page

    …but there is no Ultimate Member tab in my Appearance -> Customize. Was this discontinued?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ohliza

    That doc is for the premium UM Theme. Which specific elements in the profile form do you want to control the styles? Have you tried using the browser inspector to get your target ID/Class?

    Regards,

    • This reply was modified 3 years, 5 months ago by Champ Camba.
    Thread Starter ohliza

    (@ohliza)

    I’ve definitely used inspector, but I want to make style changes to all profile pages, not any other pages, and as I said, I can’t see how to target those by pageid so all other pages are not affected. Profile pages do not seem to have a common page or pageid.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ohliza

    UM Profile has the form ID added to the div that wraps the form.

    e.g.
    .um.um-123{ }

    123 is the form ID.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ohliza

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

    Thread Starter ohliza

    (@ohliza)

    Honestly I just gave up. The form ID refers to each field label and entry box and doesn’t allow me to change the page CSS overall which is what I really needed to be able to do.

    I moved the important info to the “card” at the top and taught the cliet to select that and print it.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    ..Thanks for letting us know.

    Regards,

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Template for user detail page (from member directory)’ is closed to new replies.