Problem/Motivation

Hello
Is there a way to change the position off the offcanvas. The default seems to be 'offcanvas-end'. I would prefere 'offcanvas-start'. Couldn't find it in the theme settings. Did I miss it?

Thanks in advance

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

suldan created an issue. See original summary.

tklawsuc’s picture

You need to override it in your own theme page preprocess.

function YOURTHEME_preprocess_page($variables) {
  $variables['navbar_collapse_class'] = 'offcanvas offcanvas-start';
}

immaculatexavier made their first commit to this issue’s fork.

anchal_gupta’s picture

Status: Active » Needs review
StatusFileSize
new608 bytes

I have uploaded the patch. please review it

shyam_bhatt’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new51.02 KB
new54.78 KB

I have checked the patch is working fine. Please check the below images:

Before:
2022-09-19/3267931-5-before.png

After:
2022-09-19/3267931-5-after.png

hatuhay’s picture

Category: Feature request » Support request
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

avpaderno’s picture