- πΊπΈUnited States jmouse888
Three and a half years later, still having the same problem. Running Drupal 9.5.8 and bg_image_formatter 8.x-1.16,
However, some how it's only happening our front page. All internal pages are rendering the inline styles just fine, even with authenticated users. Only thing different for the front page is it's using a different page--front.html.twig. The rest of the site is using page.html.twig
From browser source code, BigPipe are loaded for both page templates. Don't know why it will work with one but not the other.
Uninstalled BigPipe and everything is working.
May be if I trace the difference between the two page templates may result some clue. Will investigate further down this route.
- π¨π¦Canada dadderley Vancouver
I am using the Background Images Formatter for banner blocks.
It worked just fine until recently until I upgraded my site to Drupal 11.I am using Drupal Version 11.2.3
Background Images Formatter 8.x-1.18The Background Image would not show for logged in users until I did a hard refresh of the page.
The actual style for the BG image:.banner { background-color: #FFFFFF !important; background-image: url(https://www.mysite.ca/sites/default/files/styles/background_mysite_banner/public/2023-12/6_health_professionals_group_smile_bg_headroom3.png.webp?itok=pms8eNgp) !important; background-repeat: no-repeat !important; background-attachment: scroll !important; background-position: left top !important; z-index: auto; background-size: cover !important; -webkit-background-size: cover !important; -moz-background-size: cover !important; -o-background-size: cover !important; }
would not be injected into the html at all on the first page load for a logged in user.
No problem for anonymous users.I found this issue.
I uninstalled the Big Pipe module and this seems to have cleared up the issue.