This forum is for assistance with theme development.

4 question with bootstrap template

hi guys...

i have design a sample bootstrap theme with d7. in front page we have row 12 - col-md-9 for content and col-md-3 for sidebar

firs section we have custom slider with slick slider and show 5 content with image and in the second section we have custom tag contet like image under i do'nt know how post 5 content with custom tag first image larger than other 4 post . third section we have custom tab content with custom tag post how can design it with view? in the last section we have auto complete search

Where is masonry-item style attribute being set?

I am re-theming a site with Bootstrap and the masonry and masonry-views modules.  I have no clue HOW Drupal is deciding to insert a "style" attribute into the "masonry-item" DIV. The "style" that is being inserted horizontally collapses all of the blocks that masony-views and ruins any ability to restyle the element with CSS, since "style" overrides CSS.  I don't see anywhere in views or in masonry-views where the style attribute is being set.  MORE DEEPLY BURIED DRUPAL BS?

Two Action Different in webform

Hello! I can not do the following in the webform:

I need to create a webform that has 2 buttons which each of them downloads a different PDF if a different option is chosen in the combobox, how can I do it? 

thank you

Drupal 8 Inline JavaScript from View Preprocessor

I need to do something that I know is antithetical to Drupal 8:  insert inline JavaScript from a PHP function.  If time allowed, I would restructure the site to avoid this situation, but I don't have time.

I need to have a PHP associative array, encoded as JSON, to be available to the whole page within script tags.

The PHP object is created within function THEME_preprocess_views_view__VIEWNAME.  How can that associative array/JSON object be made available to JavaScript in the page?

Thank you in advance,

Mike

Hi I am new to drupal. need to setup a theme.

I am using a theme bootstrap mint.

i want to write a hook to show promoted articles in the slider. i have put the app in debug mode. i find below twig files

Responsive image style

Hi,

is there any way so I can make a responsive image style for background images?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Theme development