Bob Hemphill

Completed courses

Activity


commented on show all, show less functionality
Brian,

After a bit of digging and looking under the hood yesterday, I found the truncate code. Worked great on one div, the problem is I want to apply this to a few divs on a page, with each div having a different truncate number. I tried this with with two divs, one with set to truncate=200 and the other set to truncate=420. I’m using this on a Volunteer page in the a descriptive div for each roll. I tried switching them around. Which ever item loads first on the page seems to set the default truncate value.

http://www.wcdemocrats.com/new_volunteer
This is a temporary test page, this link my not be live forever.

Might have to find a different solution. Thinking about a popup modal with the description for each roll.

If you have any thoughts, let me know.

Bob
posted 2017-08-10 15:10:38 -0700

commented on Create a list or text string of volunteer types in the auto-response email form a volunteer page?
Brian, way cool dude, worked like a champ. This is what I ended up with:

{% capture volunteer_roles_list }{ for volunteer_type in page.volunteer_signup.volunteer_types }{{ volunteer_type.name }}{ unless forloop.last }||{ endunless }{ endfor }{ endcapture }{ assign volunteer_roles = volunteer_roles_list | split: ‘||’ %}

Thank you for volunteering for the following:

{% for volunteer_type in recipient.volunteer_types }{ if volunteer_roles contains volunteer_type.name }
◼ {{ volunteer_type.name }}
{
endif }{ endfor %}

I’m self taught and usually learn just enough to get myself in trouble. Looks like Liquid is open source from Shopify, is that true? Do you know any learning materials or tutorials that can get me past the front door with Liquid?

Thanks for your help, Bob
posted 2017-08-08 14:02:44 -0700

commented on Using Folders/Directories for Theme Files
Thanks man.
posted 2017-01-24 17:31:31 -0800

commented on Collective Theme, Header/Nav Resize on Scroll
Brian,

I tried this… padding: 0 0 0 1.25em; Logo almost disappears. Is that what you meant?

padding: 2em 0 2em 1.25em; doesn’t look bad.

One other thing, the logo seems to be justified left. Is there a way to have the element centered so the zoom effect is straight back and not moving to the left as the size diminishes?
posted 2017-01-25 15:07:03 -0800

commented on Using SVG for logo image
Brain,

I did have luck via the logo uploader in the control panel. The only thing is the thumbnail for the logo shows a “?”, which is OK with me. SVG file was exported out of Illustrator. Take a look if you have a chance. https://scratch-wcdp.nationbuilder.com

Thanks, Bob
posted 2017-01-19 10:20:36 -0800

commented on Supporter nav disappearing after theme switch
A follow up..

I communicated with Brian via eMail, Here’s an excerpt of my eMail…

I think I have confused the Supporter Nav with a “participate” div on our home page.

…participate div code…

I think the Supporter Nav propagates the buttons in the above code. This code wasn’t showing in other themes because it’s not in the other themes.

Part of his response…

“You are correct in that the Support Nav tab in your control panel, found within the “Website” section, controls the buttons that you were referencing in that participate div. Not all of our themes have the participate div, but some do. The themes that do not have a participate div in them do include the buttons that you’ve set up in “Supporter Nav” in the sidebar of pages for which the sidebar has been enabled. In a sense, the “supporter nav” is located in the sidebar for these things instead of in the participate div."

Just wanted to add this to the thread in case someone else has had this issue.
posted 2017-01-12 07:26:59 -0800

published Switch to Full-Width Featured Content Slider in FAQs
posted 2016-12-14 10:37:23 -0800

commented on Large site clones sometimes fail due to duplicate slugs or page tags
I’m trying to create a sandbox of our nation so I can work on updating our theme without touching our live site. I’ve set the main site to share but I keep getting the “We were unable to create your new site” message when I try to create the clone. Can you look into pushing the share for me?

Thanks, Bob Hemphill
http://www.wcdemocrats.com
posted 2016-12-13 15:44:33 -0800