This forum is for assistance with theme development.

Theming a field in a table

Hi All

Hoping someone can help with this

I am writing a custom theme where I want to change the color of the text of a field in a views table based on a value.

Putting the following in the views-view-field.twig.html override updates the div for all fields in the row, how do I make it just add a div around the field_alive I am interested in and not all fields in the row please.

Thanks

Analogs of Slider Revolution for Drupal CMS

Hello! This point is interesting: is there something similar to Slider Revolution for CMS Drupal For Wordpress, with similar functionality? The site has a cool slider installed, I don’t want to sacrifice it when switching to Drupal.

Managing and Overriding Sass in a Sub-Theme

I'm currently working on setting up a sub-theme from a theme that uses the Foundation framework. This parent theme has all it's CSS broken out into Sass partials with a settings.scss file that sets colors, fonts, etc. 

For the most part, the site that uses this sub-theme will need to look and feel exactly like the parent theme. However, I do need to override some of values set in the settings file.

Bootstrap new subtheme missing

Debian Buster

Apache 2.4

PHP 7.3.4-2

Drupal core 8.7.1

Bootstrap 8.x-3.19

Admin Toolbar 8.x-1.26

Coffee 8.x-1.0-beta2

ISSUE:

I'm attempting to install a subtheme but, after going through the instructions, it's not appearing under "Appearance".  The instructions I'm using can be found here:

https://drupal-bootstrap.org/api/bootstrap/docs!Sub-Theming.md/group/sub_theming/8.x-3.x

Bootstrap 3 columns

I try to use the bootstrap 3 columns layout but can't figure out how to insert an image into a placeholder.
Someone who can help or send a link to a tutorial.

/willy

Approach for building static pages

I am using D8 and have many static pages rendering content. Each page can be separated into chunks of content running to the full width of the page containing images, text in HTML.

I am aware there are 2 approaches to build these kind of static pages in Drupal.

1. Put the HTML content for each page inside Body field of Basic page content type and leave them to generate the full HTML for each page.

 (or)

Pages

Subscribe with RSS Subscribe to RSS - Theme development