
-
AuthorPosts
-
August 6, 2015 at 11:17 pm #484205
Hi,
whenever someone click on share (fb, twitter, etc..) on my portfolio project page it opens in a full screen instead of just simple pop up on top of the window…. any idea how to disable it so it will be just a pop up of share ?
Thanks a lot
T
August 7, 2015 at 3:22 pm #484561Hi noamman!
Send us a link to your page and we’ll take a.look. You can set your reply as private if you wish.
Also be sure to deactivate all plugins while testing.
Cheers!
ElliottAugust 7, 2015 at 3:31 pm #484563Thank you for the reply!
hope you’ll find the probelm.
the website is:
soul-royale.comAugust 7, 2015 at 4:24 pm #484589Hey!
Try placing this in the bottom of your functions.php file.
add_action( 'wp_head', 'enfold_customization_facebook_popup' ); function enfold_customization_facebook_popup() { ?> <script type = "text/javascript"> jQuery(document).ready(function(){ jQuery('.av-share-link a').click(function(e){ e.preventDefault(); window.open(jQuery(this).attr("href"), '', 'width=600,height=400'); }); }); </script> <?php }
Cheers!
Elliott-
This reply was modified 9 years, 11 months ago by
Elliott.
August 7, 2015 at 5:36 pm #484632when we do it, it shuts down the website and says:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/noamgelbart/soul-royale.com/wp-content/themes/enfold/functions.php on line 526also, this problem of sharing opens in full screen is not only on fb it’s also for the google+ and twitter… really weird.
August 9, 2015 at 8:38 am #484881by the way, we have been trying to disable all plugins and it doesn’t help.
please we need your help!
T
August 10, 2015 at 3:09 pm #485364Hey!
Install a child theme, http://kriesi.at/documentation/enfold/downloads/, and place it in the bottom of the child theme functions.php file.
Regards,
ElliottAugust 10, 2015 at 3:53 pm #485410Hi Elliott,
thanks for the reply – we’ve already finished the website with all the customization and stuff – we’ve watched the video about the child theme and it says we should have done it from the beginning now when we activate the child theme all of our style is gone.
so we have activated the parent theme so it will work but can’t enter the code you suggested it crashes everything..
what can we do?
Thanks!
TAugust 10, 2015 at 4:46 pm #485450Hi!
When you activate the child theme it will behave like a completely new theme with default settings. There is an option for importing the parent theme settings in Dashboard > Enfold > Import/Export though.
If your still having trouble after adding the code to the child theme functions.php file then send us a WordPress login and we’ll take a look.
Cheers!
Elliott-
This reply was modified 9 years, 10 months ago by
Elliott.
August 10, 2015 at 6:12 pm #485515Hi Elliot,
we tried it but it still doesn’t show the website as good as the parent one (actually it is far from that…)
isn’t there any other option to fix the share option to show as normal small pop up window and not in full screen?Thanks in advanced!
T
August 10, 2015 at 7:52 pm #485574Hi!
That code will display the site in a popup when you click on the links instead of in a new tab. I’m not sure what you mean by “doesn’t show the website as good as the parent one”. Take a screenshot and highlight exactly what your trying to do so we can get a better idea.
Regards,
ElliottAugust 10, 2015 at 8:41 pm #485606It’s messing around with all the plugins, and changes the color of things…
is there any place to add it in the parent’s files so it will work instead of the child one?thanks
August 11, 2015 at 9:24 am #485782Hi,
If you have problems with settings/CSS not loading when activating the child theme toggling settings helps. For instance, go to Quick CSS and just type a space and save and your code will be applied, the same goes for colour options etc, just toggle one and save and it should all be applied unless you have made some changes to core files in the parent theme, then you would need to apply them to the child theme as well.
Regards,
RikardAugust 11, 2015 at 11:17 am #485829OK! it worked!! thank you so much… Rikard & Elliott for the support:)
-
This reply was modified 9 years, 11 months ago by
-
AuthorPosts
- The topic ‘Share button in full screen?!’ is closed to new replies.