This forum is for assistance with theme development.

Add a body class or page variable based on a term on a term

Getting a term on a node is usually asked for but i'm after getting a term that set on a term while displaying term page through views. I need this to determine layout, aligning the page title left, right or centered based on the selected term on the term page.

To clarify
Vocabularies
A = collection
B = Layout (with terms left, right or center)

Example
Voc A can have a term from Voc B

CSS file not loaded on Stark theme

Hi!

So i installed drupal yesterday, and activated/installed the stark theme as i want to design it myself. I have to state, that i'm new and doesnt now anything about drupal. I then went into the core, and found stark theme. I then went into the css folder for stark, changed the css filename to something i prefer, and changed the name in the libraries.yml file. The styles i then added to the css file, which i renamed, isn't getting loaded. I have cleared caches and disabled aggregated JS and CSS.

My libraries.yml file: (changed it back to how I think it was before)

Question for CSS, Views and Youtube-Videos

http://www.jurtenland.de/video

I ve planed to show a list of my videos, but with the following questions I have some trouble an need some hint to find the right way, where I have to search for solutions...

how can I set up the embedded video field in views, for width = 100% and height = auto?

setting mystyle.css to

.media-youtube-player {
width: 100%;
height: auto; }

I get the rendered file in a fixed high with 150px

with

Omega child theme 404(Page not found) Template

Hi,

I want custom template for 404 error page in omega child theme. Please let me know how i can do this .

Thank you

Can you help this Newbie overwhelmed with trying to subtheme bootstrap theme?

Hello, I'm hoping to find a sympathetic ear here. I am trying to subtheme the bootstrap theme and wanted to start out by modifying the page.tpl.php template to add some stuff at the very top of the page as a startup exercise. This is something I'm going to want to do for the production site and is a major unknonw for me. I am following the instructions as best I can from the CDN docs on the Bootrap Theme site.

[Solved] How do I center (horizontal) the logo in a Bartik sub theme

Hey all

A quick question from a newcomer to Drupal.

How do I center (horizontal) the logo in a Bartik sub theme?

Have been looking through some generel CSS guides, but nothing seems to work...

Thank you in advance.

Pages

Subscribe with RSS Subscribe to RSS - Theme development