Need option masonry_container_style

Created on 23 January 2017, over 7 years ago
Updated 20 April 2023, about 1 year ago

Hi, i need for my custom implementation of masonry, the option masonry_container_style to set {position: absolute}.

My code is something like that right now in template.php

$container = '.container';
$options['masonry_item_selector'] = '.subitem';
$options['masonry_column_width'] = 50;
this is what i need ------> $options['masonry_container_style']= "{position: 'absolute'}"; <-------
masonry_apply($container, $options);

I have tried with no success the following:

  • $options['masonry_container_style']= "{position: 'absolute'}";
  • $options['masonry_container_style']= "position: 'absolute'";
  • $options['masonry_container_style']['position']= "absolute";

Is this possible ?

πŸ’¬ Support request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡·Greece perarg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024