psu-libraries / psulib_base

Drupal Base Theme
0 stars 0 forks source link

Add some predefined layouts for use in layout builder #59

Closed zipymonkey closed 2 months ago

zipymonkey commented 2 months ago

We need to add some layout templates using bootstrap styles to expedite the building of the PSUL and Hershey homepages.

List of templates needed

Links

zipymonkey commented 2 months ago

@chrisdarke42 Can you add the layouts needed for the hershey homepage? I can get those added to the base theme.

chrisdarke42 commented 2 months ago

Looks like Hershey needs 2 col and 1 col layouts. Are we proposing having set ratios on the layouts or using classes to add the ratios?

zipymonkey commented 2 months ago

There is already a 1 column layout in Drupal... I am not sure how much variation that can have.

For the 2 columns we should use the bootstrap grid columns. I was thinking we create a handle this with a handful of layouts (25-75, 33-66, 50-50, etc) but I suppose we could use something like https://www.drupal.org/project/bootstrap_layout_builder to allow the layouts to be dynamically built in Drupal.