This forum is for assistance with theme development.

Date and time passed

I have an event content type. Within the event content type I have the date field. Right now it just shows the date which is fine but once the date passes I want to dynamically show a phrase like "This date has passed".

I've searched all over for the answer to no avail. I've tried many scripts but none have worked. I've made a custom node (node--events.tpl.php) and tried to add both php and javascripts into it. The result is either it will always say "This date has passed" or it never will. Below is an example of a script I've used. Please help me.

Change Header with a back ground image and header length

I'm trying to change header with a back ground image and change length of header but leave the content area the same.

I want the header to be covered completely  by the background image .

Ive looked for div but the changes don't seem to work.

This is for the zircon theme for Drupal 7. http://www.savingsolutions.com.au/

No Twig debugging comments in html source

In a Drupal 8 multisite setup I have several sites with identical services.yml files containing:

twig.config:
    debug: true

One of the sites provides (as expected) Twig theme debug comment sections, but two of the other sites do not. Everything else works fine, I haven't noticed any problems with any of the sites, just the twig debug is missing from the HTML. So far I have:

How to find CSS tags, i.e. class, ID, Ul, Li in new version of ZEN

I had worked with the ZEN theme creating a sub-theme several years ago and found it relatively easy to style. I just installed the latest V7 and am having a very hard time locating styling tags for menus, and other things on the page.tpl.php and adding or changing conditions in the styles.css within the sub-theme. One of the perplexing thing for me is the relationship between SASS and the styles and I wonder if I must use SASS or directly work on the styles.css sheet.

Firefox won't recognize global.css stylesheet.

For some reason, Firefox won't recognize the global.css style sheet. Other browsers seem to recognize it just fine. Can anybody help. Website is www.moureys.com.

Thanks!

Adding css in AdaptiveTheme / corolla

Hi

I'm new here and I've got a (simple) question about adding CSS to a theme.

Pages

Subscribe with RSS Subscribe to RSS - Theme development