loogart / impact-canada

Canadian Government's Privy Council's Office Impact Canada website.
https://loogart.github.io/impact-canada/
0 stars 0 forks source link

CTA Blocks for French pages #41

Closed loogart closed 5 years ago

loogart commented 5 years ago

Hey duncan, how do I get the CTA boxes on About, partner etc pages to appear at the bottom?

djsutter commented 5 years ago

Ok I can show you, see how this goes... Go into Structure > Block layout. Scroll to bottom. For CTA pink, click on the Configure button. In the Configure block page, half way down, click on the Pages tab. You will see a textarea containing "/about". That makes the pink CTA show up on the About page. Add more pages to whatever CTA blocks you want to show up on what page. No need to treat EN or FR differently. Wildcards are allowed. Don't forget to click the Save button

loogart commented 5 years ago

Thank you, this is ultra cool

djsutter commented 5 years ago

Learning Drupal one step at a time! I think you already know how to edit blocks, since you were doing custom CSS there.

loogart commented 5 years ago

@djsutter the block configuration has changed. All the blocks (all colours) have been configured to for homepage, yet they all show up properly. I found this while I was trying to fix the CTA block for the French homepage.

djsutter commented 5 years ago

I don't understand the problem. I see only one configured for homepage (front)

loogart commented 5 years ago

Morning! Was my error, i updated the FR blue CTA block! Sorry about that.