For assistance with theme development.

Overriding default search form block

Hello, I wanted to know if there is a way to override the default search form block and remove the search box, leaving the search button only. Should I use the hook_form_alter  in the .theme file or should I change the block---search-form-block.html.twig file? And I also wanted to know how to add Font Awesome's search icon on the button.

Thank you for your replies in advance, and any solutions would be most welcome. I am still new to Drupal and I would be really grateful for any help that you provide me with.

Help implementing draggable tables on an existing node create form

As a newcomer to D8 I'm trying to implement the draggable table functionality to the create and edit form of a given content type I have already created.

I found several tutorials that deal with the form creation from scratch by setting a route for the form and setting theme functions for that form. In my case this can't be done since I'm trying to alter an existing form that already has the table field on it and I can't re-declare a form since I just need the form to be altered to display the table as draggable.

How to add Google Fonts locally with Bootstrap SASS ?

I have a Drupal 8 site and Bootstrap 3 theme (SASS)

I use the following Bootswatch theme on my site :

https://bootswatch.com/3/flatly/_bootswatch.scss

There are these 2 lines in the file :

    $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic" !default;
    @import url($web-font-path);

I used this site to download the corresponding Google Fonts archive :

How to install Awesome Font Locally with Bootstrap for Drupal ?

I have a site with Drupal 8.7 and Bootstrap 3.4.1 in SASS.

I have created a Bootstrap SASS subtheme, I want to host Font Awesome locally.

I downloaded and decompressed the archive at this address :

https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome...

In the directory of my subtheme :

    /bootstrap_subtheme_front_office_old/fonts

If I go to my site, the Awesome Font does not work.

How to use Bootswatch theme with Bootstrap for Drupal ?

I have a site with Drupal 8.7 and Bootstrap 3.4.1 in SASS.

To create my subtheme, I followed this tutorial :

https://www.webwash.net/getting-started-bootstrap-drupal-8/

How to add the theme "Flatly" in my subtheme ?

https://bootswatch.com/3/

Which file should I download and where should I put them in my sub theme :

Bootstrap 4 theme that utilizes the new D8 Layout Builder?

So I am converting one of my D7 sites to D8 and have decided to go all in on using the new layout builder. I think it's really awesome and will be great for our content editors. I'm wondering if anyone is aware of any themes on the marketplace anywhere that already come with some layout builder layouts perhaps using Bootstrap or even better some custom block types and TWIG templates that I could then embed predefined widgets already styled in the themes style into layout builder.

Pages

Subscribe with RSS Subscribe to RSS - Theme development