Fluid UI container is injected in code without location choice for the developer

Problem

I have installed the FluidUI module on my D9 website. It works fine, can use all the settings to change look and feel of the website to accommodate all people with accessibility issues.

However, it injects itself into the top of the page code (immediately below admin toolbar and above the actual page content), rather than giving me options (a custom block for example?) where I’d like to place it. As a result I can only have the preferences tab hanging from there very top of the browser, where it overlaps part of the menu etcetera.

I would prefer if I could choose where to place the tab, for example middle left or right of the browser window, (with an icon instead of text), or below the header so it overhangs the hero image.

I have posted this issue + proposed resolution on the modules issue page: https://www.drupal.org/project/fluidui/issues/3282119

— proposed solution: add options to the module configuration (currently only ‘show on admin’ and ‘hide on these pages’) for where to place the tab, use icon and/or text, supply a custom block that the administrator can her/himself place on the page in different locations.–

But alternatively where in the module code can I tweak where the code gets injected, so I can make it appear where I want, at top of a different page region for example? Any help or pointers on how to achieve this would be amazing!

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Fluid UI container is injected in code without location choice for the developer

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.