- Issue created by @pingwin_cracow
- Status changed to Closed: works as designed
over 1 year ago 9:50am 23 August 2023 - π΅π±Poland gpietrzak WrocΕaw
You have to override the behavior of droopler_theme_preprocess_page(), by adding the class "container-fluid" to $variables['main_attributes']
- π΅π±Poland pingwin_cracow
I added:
function step_subtheme_preprocess_page(&$variables) {
$variables['main_attributes'] ='container-fluid';
}unfortunately it still doesn't work properly.
Have I done something wrong? - π΅π±Poland gpietrzak WrocΕaw
$variables['main_attributes'] is an object of the class Attribute, so you can't assign a string to it
- π΅π±Poland pingwin_cracow
I have a new type of content: gallery
Unfortunately, I can't define the function correctly.
Can you tell me exactly what it should look like?
I will be very grateful.