Hello
Previously, i have old version of site origin plugin.
Today i have updated it to latest version and i found the issue with ROW STYLE
There is bug in latest version with row style
– full
– full with stretch
I have also fixed this bug after spending many hours.
Let me here from you if you need help to fix this bug.
THanks,
Lyuba
Hi Voloshko,
There are currently no known bugs with the row layouts so I would be very happy if you managed to find and fix one. Could you please clarify what the issue you were experiencing was?
hello
when i try to assign layout attribute to row
– full
– full stretch
this is not working on front end
Hi Voloshko,
Typically that’s a theme or plugin conflict. Out of interest, how did you resolve this issue?
Hello
no its not plugin conflict, actually i have found few line of code missing in new version.
And i haved copied that line of code to latest version, and now working for me :)
Hi Voloshko,
Could you please elaborate?
Hello
default-styles.php file
there is one method
static function row_style_attributes( $attributes, $args ) {….}
The old version of plugin having this line
“$attributes[‘class’][] = $args[‘row_stretch’];”
in new version it missing
this line is regarding row attributes “full width / full width with stretch “
Hi Voloshko,
Just to clarify, did you download our plugin from WordPress.org? What version are you currently using?
Hello Alex
I have download plugin from wordpress.org and version 2.4.9
Hi Voloshko,
Hm okay. Did you make any modifications to default-styles.php? I’m asking because the functionality for full within is the first thing that takes happens in the method you referenced. Reference:
Please note that data-stretch-type instead of class is intentionally being used.
This is a private message.
Hi Voloshko,
Do you have a public URL where we can take at an example row? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.
It should be noted that your solution isn’t a solution. It’s a workaround. You’ll notice that my above code makes reference to $args[‘row_stretch’] but in a different manner. This is because for better compatibility we don’t just set a class the row_stretch as a class as we don’t have a CSS selector for that.
Once I can see what you’re working with I can tell you why it’s not working out of the box for you. As mentioned previously, this is not a widespread problem so there’s something going on with your website that is preventing it from working as intended.