Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile images not pulling to Profiles component #185

Closed
rebecca-patton opened this issue Aug 5, 2019 · 2 comments
Closed

Profile images not pulling to Profiles component #185

rebecca-patton opened this issue Aug 5, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rebecca-patton
Copy link

Need further documentation on how to get profile photo to pull to a Profiles component (photo is showing on individual Profile component).

I also cannot get the subnav component to work on the same page as the Profiles component.

https://mindfit.sandbox.wvu.edu/contact/meet-the-staff

@adamglenn
Copy link
Contributor

This is another thing I didn’t copy over from the old documentation. I have updated it here: https://designsystem.wvu.edu/tutorials/creating-a-site-using-super-theme?=4 the URL of the file has to follow a certain format. Will add it to the implementation notes ASAP. Thanks for your help with all of this. I know it is frustrating ;) but I think with your help we can improve it a great deal.

@adamglenn adamglenn self-assigned this Aug 5, 2019
@adamglenn adamglenn added the bug Something isn't working label Aug 5, 2019
@adamglenn
Copy link
Contributor

So I made it so for the profiles component, it will only get the margin-x auto if it is used as a full-width block. To use it with a subnav, what you want to do is put it in a backpage-main (this is if you're using Super Theme). So you would set the display context as backpage-main-{instance-number}, then add the subnav to another slot with a display context of sidebar-{instance-number}. Note, this does not work with shared partials that are hard-coded in your template, as I haven't figured out how to do component inception that way (yet). So in that case you'd make a custom component that combines the profiles with sidebar or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants