This forum is for assistance with theme development.

Superfish sub menu

I am using superfish menu but the drop down for each main menu link it is not under the main buttons.

They all drop down to the left of the menu. How can I make them drop down under the main link.

http://cbaptist.cyclonewebdesign.net/

Default image tpl

Hi!

I'm trying to customize an image field for my content type, but i can't find where default image tpl is.

usually for views and blocks i clone the default tpl (for example: views-view.tpl.php) and i modify it renaming and editing the file content, but i can't find the same file for images field.

in particular what im trying to do is create a custom image field tpl for my content type and printing the image and the alternative text with some container div.

thanks in advance, hoping this is clear.

Search glyphicon disappearing

I am modifying Bartik into a new theme called Opal, and everything seems to work so far except for the search glyphicon "magnifying glass" symbol. It appears if I place my new theme back into 8.x core -- mysite.com/core/themes/opal -- but when I place my theme in the proper root directory, mysite.com/themes/opal, it disappears. Any advice would be most appreciated. I can always just spare the Opal folder in core when upgrading, but having it work in the proper folder would be better.   

Add specific jquery.ui dependency to theme

I'm trying to add a toggle() with a slide function in my Drupal 8.5 theme and it's not working very well. I go to the browser console and see thousands of errors like this:

TypeError: r.easing[this.easing] is not a function.

Searching I find that it's likely because the easing plugin is not loaded. Looking at my page source I see many files being pulled in from /core/assets/vendor/jquery.ui/ui/* but nothing from /effects/ let alone /effects/slider

Modernizr.load is not a function

I'm finding that I need to write some javascript to do media queries and find that the Modernizr library, which is included in core, is available to intelligently let me check the user's window size, etc. Usually when I try to learn a new library, I go to the browser console after reading some docs but find I cannot do so.

Modernizr.load is not a function

nor

Page builder?

anyone know of a way to build themes for drupal using some kind of page builder?

Pages

Subscribe with RSS Subscribe to RSS - Theme development