This forum is for assistance with theme development.

hosting template

Hi everyone,
Iam looking for a free web hosting template. Anyone know where I may find one?

Easy question? Determine $view_mode from comment...

I'm currently theming Advanced Forum via advanced-forum-post.tpl.php. This template handles both nodes and comments, and has a note to say that that...

* All variables available in node.tpl.php and comment.tpl.php for your theme
* are available here.

If I examine $view_mode when it's handling a node, it works fine. But not when it's handling a comment.

I've got stuck at views-view-field.html.twig #twig

A lot of hours without sleep behind me.. so I need to beg for some help with views-view-field.html.twig.

What I need: I need to add some background style with field image for slider I am creating with views. Each slide have different image in background. It is forbidden to use style in field, so I am working with single field template. I need to display hidden field from views in field template. In documentation I have something like this

How to change #page in colors.css

Hello
I have copied the whole of bartik into themes/custom and renamed it appropriately.
I have changed all references to bartik to the theme name
I have set as default theme
cleared caches including truncating all cache tables in the database

BUT I still get the original settings for the colors.css
Any thoughts as to what is happening or not happening?

Ubercart product layout css

Hi everyone, I have drupal 7 with ubercart and i'm having difficulties with the product layouts. They're set on views to have 4 in a column but it's only showing 2. What CSS tags am I best using to alter the layout or is there a different layout that works well on browsers and mobile? An example of the problem is this page - http://www.berwynsports.co.uk/cycling-gifts

twig 'base_path' not available in Views custom field

I am trying to write a FQDN path to a image in my theme directory within a Views custom text box.
My install of Drupal is in a sub-directory so relative paths do not work correctly.
Here is what I have in my Views custom text box.

Pages

Subscribe with RSS Subscribe to RSS - Theme development