Skip to main content
6
results
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an accordion button, specifically changing the background image of an ::after pseudo-element. If you want to change the icon colour on hover, you should modify the fill attribute in the SVG's path element.  Here's an example: /* Default state */ .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd'...
Andrew Fletcher
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...