This forum is for assistance with theme development.

CSS with entity reference field type

http://gruplaela.uji.es/__D8/node/39

On this page I have a field called "Authored by" and the field type is Entity Reference. I'm trying to style it but I cant get it to sit inline like the other fields (which are field type Text). Rather the two field items sit on top of each other and push the following field to the right (as if it were float: left in CSS).

What I would like to have is something like this:

Authored by: Patricia Salazar Victòria Codina

Calling an external Twig file from a block.

In Drupal 7 I could create an external .php file and call it from inside a block by including the php file  

<?php
include_once("./".$theme_path ."/blocks/header_bar.php");
?

Is it possible to call an external twig file in Drupal 8 from a block? 

Thanks,

Nick

preprocess SCSS with Zen Theme on MS Server

hi to everyone. I'm very new. I'm german and apologies my english :/.

Is this possible? Maybe?

I think this might be related to theme development. TPL files seem to be involved in any case (but I am not certain by a long shot—I don't even know what I don't know, and don't even know how to diagnose the issues I'm having). Anyway, here goes:

I'm having some strange issues with D7 (D8 ain't an option right now, for reasons too complicated to get into here), and some module interactions and the way things get displayed.

Selecting only a specific type of CSS

I want to specify CSS for only the content of my website, but it doesn't work. Can someone correct my error(s)? Thanks!

a.content:link {
  color: yellow;
}

a.content:visited{
  color:yellow;
}

a.content:hover {
  color: red;
}

a.content:active {
  color: yellow;
}

D7 bootstrap hamburger mobile menu problem

Hello.

I am in charge of the SEO of some websites using drupal7 with bootstrap theme.

On 2 websites I have some problems with the header hamburger mobile menu

https://chassisdelhez.be/ and https://delheztoitures.be/

the menus are not locking on both website and it seems there is also a displaying issue with the slider on the first site...

Can someone help me to find where and how to fix that?

thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development