Hi faugro,
Thank you for your question, i am really happy to assist you. The code that you mentioned is used to separate column elements. Could you please clarify your problem a little bit so that i can try my best to support you?
Have you a good day
Sincerely,
Innogears Support Team
Thread Starter
faugro
(@faugro-1)
Great, your reply is fast 😀
But this code produce wierd thing on the front-end,
if i set column to 75% and 25% it will be col-md-9 col-sm-13 and col-md-3 col-sm-4, it will break up the responsive, i mean it look bad on small layout setting.
I just want to remove that line.
The important thing is on the title
look like on this file ig-pagebuilder\core\helper\shortcode.php line 1003
$args = array( 'widget_id' => strtolower( $widget ) );
i want to change the args before_title
Hi faugro,
Thank you for your suggestion and quick reply. My friend, Adam, resolved the similar problem in the following topic, please feel free to take a look at it
http://wordpress.org/support/topic/3-columns-layout-50-25-25-is-not-responsive?replies=11
Have you a good time
Sincerely,
Innogears Support Team
Thread Starter
faugro
(@faugro-1)
Ok, i also think to use css to edit it, but, it’s not to efficient i think, there will be many case that code will break the responsive. so i still think it’s better to remove that line.
I try to move all code from ig-pagebuilder\core\shortcode\layout\column.php to my theme’s function.php and remove $args = array( 'widget_id' => strtolower( $widget ) );
and it work, the question is, did you think this is the correct way?
I think if there is
if ( ! class_exists()) {}
the first loaded class is will be used, but i’m not sure is the theme’s functions.php will always be called first, before ig-pagebuilder plugin, or not 😀
Hi faugro,
Thank you for your time to try new ways to make the code better. In my opinion, i think that it is really a good way because it works for your case. I deem that you are the talent of coding. Back to your next question, i think that the theme’s function will be called before plugin
Have you a good time
Best Regards,
Innogears Support Team