developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
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
•
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...
Andrew Fletcher
•
You would have come across a URL string that appears...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow these steps:
Generate your SSH key
Log in to your CPanel account. As first you will have to generate an SSH key pair in cPanel -> SSH/Shell Access
Complete the details in the Generate new SSH key pair form
First name
Last name
Email
Password - take note of the password you used to generate the key as you will use it shortly
Allowed IP address
Copy the private key from cPanel and save it into...