This forum is for assistance with theme development.

Error after adding .theme file

After creating .theme file in my template folder (whether empty or not), I get the following error message:

Checking the field for completeness

I am trying to check the field for completeness and if there is a loaded video in the field, display a small icon on the preview layer. doing so:

<?php if(!empty($fields['field_video'])) echo '<div class="ribbon-wrapper-gold"><div class="ribbon-gold">with video</div></div>'; ?> 

But with video always appears regardless of whether the field_video field is filled or not. What am I doing wrong?

views Unformatted list error

Hi 

i always got this error when i use Unformatted list format in views

i didnt find where is the problem

please help

User error: "attributes" is an invalid render array key in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).

Taxonomy pages

Hello!

how can I edit the taxonomy pages? If I click on a term the resulting pages look not the way they should.

Scroll jump after ajax request

I have a problem with an Ajax view. I have a SearchAPI Block and whenever I change the filters the block reloads and the page scroll jumps randomly. This problem does only appear when the page is short enough. I have another Search API Block at a different page of the same Drupal installation but with more other blocks under that than just the footer.

I do not think that it has anything to do with the settings of my SearchAPI or even the Infinity Scroll Module. I think it happens when the page is not really long and Ajax adds some new DOM Elements.

Generate Press Premium Theme and plugin not updating

Hi,

i have been using generate press premium theme and plugin in my Blog. i have got a problem, as i couldn't update the plugin. Icleared the cache logged out and logged in, still getting the same error. Can  anyone help me sort this out??

Pages

Subscribe with RSS Subscribe to RSS - Theme development