Forum Replies Created
-
AuthorPosts
-
You rock! thanks :)
Thank you!
Please find attached to see how it looks (and what the problem is)Cheers,
Guy.Thank you Josue!
Here is the short code I’m pasting, replacing your PASTE SHORTCODES HERE:
av_button_big label=”CREAT MY TESTIMONIAL WIDGET NOW – IT’S FREE!” link=”https://app.spectoos.com/users/sign_up” link_target=’_blank’
Here is the full line of code:
<?php echo do_shortcode(“[av_button_big label="CREAT MY TESTIMONIAL WIDGET NOW - IT'S FREE!" link="https://app.spectoos.com/users/sign_up" link_target='_blank']“); ?></div>I’m getting the following error when saving the file
Parse error: syntax error, unexpected ‘CREAT’ (T_STRING), expecting ‘,’ or ‘)’ in /home/spectoos/public_html/wp-content/themes/enfold-child/functions.php on line 73If I remove the shortcode and leave only () the file saves with no error.
What am I missing?
Cheers,
Guy.Thanks for the quick reply.
Making it really general, the button should appear:
– After the last line of the post text
– Preferred it to be centered to the page (but I can handle it)
– It should be a simple button (I’ll handle the rest if needed)
– It should appear automatically without any dependency on the post content / configuration, and should appear always.Simple enough? Please feel free to give only the very basic, I’ll take it from there, thanks!
Works like charm, thanks!
Hi Ismael,
Done, looks like it solved the problem.
did you mean I’ll remove the minification for good? Or just to edit the file?Cheers,
Guy.Done
Any updates guys?
I’ve updated all the enfold folder with the latest files as you suggested and the problem still exists.Thanks for you help,
Guy.I got 404 when switched the theme to Enfold …
Switched it backCan I switch without losing any changes I’ve made to the style of the child theme?
I’m using Enfold child, does it matter?
Nope, it didn’t help …
Thanks, much appreciated!
Thanks!
The previous css is for setting the login button on the top menu, now it is not shown correctly :(
Can we reduce the spacing even more?
Here is the updated code:li#menu-item-3512 a {
padding: 5px 10px;
background-color: #0698d9!important;
color: white!important;
height: 30px!important;
line-height: 20px!important;
margin-top: 43px;
border-radius: 10px;
}.header-scrolled li#menu-item-3512 a {
margin-top: 15px;
}.home .fixed_header.social_header #main {
padding-top: 12px; }#top .main_menu .menu li > a {
padding-top: 10px;
}
#top .header-scrolled .main_menu .menu > a {
padding-top: 0;
}Added the code, cleared cache, does not help :(
This is the current code:
li#menu-item-3512 a {
padding: 5px 10px;
background-color: #0698d9!important;
color: white!important;
height: 30px!important;
line-height: 20px!important;
margin-top: 43px;
border-radius: 10px;
}.header-scrolled li#menu-item-3512 a {
margin-top: 15px;
}.home .fixed_header.social_header #main {
padding-top: 12px; }#top .main_menu .menu li > a {
padding-top: 10px;
}
#top .header-scrolled .main_menu .menu li>a {
padding-top: 0;
}Sorry :( It does not change the spacing I am talking about …
See what I am referring to
No need for that, you can see the incorrect spacing now as well, let’s make sure we are talking about the same thing:
The space from the top menu to the separator line below it where the menu item selection indication resides, is way too big.Done, updated to the latest.
Same issues :(Thanks,
Guy.This reply has been marked as private.Done that, but:
1. It did not work, the gap is still big (I started with 100 as you suggested but got down to 50), on top of that, when scrolling the menu size stays the same and does not shrink.
2. I am using the child theme, what will happen upon upgrade?:(
Hi Yigit,
Once I remove Josue’s code, the gap is big again (although the scroll minify menu effect works)Here is the code as it is now:
li#menu-item-3512 a {
padding: 5px 10px;
background-color: #0698d9!important;
color: white!important;
height: 30px!important;
line-height: 20px!important;
margin-top: 43px;
border-radius: 10px;
}.header-scrolled li#menu-item-3512 a {
margin-top: 15px;
}.home .fixed_header.social_header #main {
padding-top: 12px; }Cheers,
Guy.Thanks!
Hi Devin,
Got it. how can I add the embed code and still have the layout? When I switch to the default WP editor I can not see any of the page components?Thanks,
Guy.Works like charm!
The only thing that I noticed now, is that the top bar does not shrink when scrolling the page … Any idea how to tackle it?
Thanks for your great support.Cheers,
Guy.- This reply was modified 11 years, 1 month ago by guyco. Reason: Added more information
Did it few times, no change :(
Could you please send me a screenshot of what you see?
Cheers,
Guy.This is what I have in the quick css under styling tab:
li#menu-item-3512 a {
padding: 5px 10px;
background-color: #0698d9!important;
color: white!important;
height: 30px!important;
line-height: 20px!important;
margin-top: 43px;
border-radius: 10px;
}.header-scrolled li#menu-item-3512 a {
margin-top: 15px;
}.home .fixed_header.social_header #main {
padding-top: 12px; }You can check it out, it seems like it was before.
Thanks,
Guy.This reply has been marked as private.Thanks.
What the about the first question?Thanks
This reply has been marked as private. -
AuthorPosts