Forum Replies Created
-
AuthorPosts
-
Hi,
I have tested this code in my functions.php, and it worked correctly:function remove_title_attr(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'remove_title_attr');
If you are using a child theme functions.php, then please ensure that this bit of code is at the very top of the file:
<?php
Best regards,
MikeHi,
Thank you for sharing your solution, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeHi,
The errors that you were getting above are from having already tried to install the demo and then trying again.
If you have to try a second time you will need to reset the site with a plugin such as WP-Reset
Please try to reset your site, and then extract and import the uploads.zip file I have attached in the Private Content area. It is all of the images for the Spa demo, please upload them as two folders, 2015 & 2016.
Then try using the custom demo installer “spa.xml” at: WordPress > tools > Import
this will allow your site to import the images from your server instead of ours.
After the import, you will need to set the front-page in the theme settings, and set the menu to the correct one. Then if you notice any colors not quite right, you can import the “spa-demo-theme-settings.txt” at: Enfold Theme Options > Import/Export > Import Settings that I have included just in case.
If you would like a hand with this, please include a working admin login & FTP access in the Private Content area. (the details you posted didn’t work for me)Best regards,
MikeHi,
Glad Rikard could help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeHey better_in_violet,
You could add this css code in the General Styling > Quick CSS field:.form_element input[type='submit'].button { background-color: blue !important; }
If this doesn’t help, Please include the url to the page in question so we can take a closer look.
Best regards,
MikeHey sumio17,
To create a button in the top bar, also called the Header Phone Number/Extra Info bar, first ensure that it is enabled by going to Enfold Theme Options > Header > Extra Elements > Phone Number or small info text, and choose “Display in top bar at the right” or left option.
Then open a new post, you don’t need to fill in the title because you are not going to save it, you only want to use the default editor. Choose the wand tool and find the option for buttons.
Then fill in your options, such as the size, color, url, etc.
Then I recommend copying the shortcode from the “text” tab so none of the quotes turn into curly quotes.
Now you can paste the code in the Enfold Theme Options > Header > Extra Elements > Phone Number or small info text field and save.
Enjoy.
Best regards,
MikeHey mrqslmk,
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_timeline(){ ?> <script> jQuery(window).load(function(){ jQuery('.av-milestone-even h2.av-milestone-date:nth-child(even)').replaceWith(function () { return $('<h3/>', { html: $(this).html() }); }); jQuery('.av-milestone-odd h2.av-milestone-date:nth-child(odd)').replaceWith(function () { return $('<h3/>', { html: $(this).html() }); }); }); </script> <?php } add_action('wp_footer', 'custom_timeline');
Then add this code in the General Styling > Quick CSS field:
.avia-timeline h3 strong { color: #858585 !important; font-size: 25px !important; } .av-milestone-odd h3 strong { float:right !important; }
Best regards,
MikeHi,
Thank you for checking and ruling those possible issues out.
I took a look at your one error and it turned out to be a misspelling, so I fix it.
I also found your menu issue, it was this in your css on line 30:.logo { margin: -37px 0 0 0!important; z-index: 80; }
the -37px was pulling it up, so I changed to -17px which seems to look good, but feel free to adjust to suit.
I also noticed that the mobile menu opens under the slider, this is due to a z-index of 900 on line 197:div#full_slider_1, .topper { height: 225px; z-index:900; position:relative; }
So I changed it to 100, but feel free to adjust to suit.
Best regards,
MikeHi,
That is great news, we will close this now. Thank you for using Enfold.Best regards,
MikeAugust 18, 2018 at 4:47 pm in reply to: WRONG MOBILE MENU – fixes for mobile menu spacing, font styling #998725Hey Munford,
Sorry for the late reply,
I have tested your mobile menu in Chrome, Firefox, Edge, IE11 & Android and I couldn’t recreate the errors in your screenshots, but if you are seeing these errors in the iPhone, I can ask another team member to look for you.It looks like your mobile menu is swapped by this function in your child theme functions.php:
/*add new mobile menu swap*/ function av_different_mobile_menu( $args = '' ) { if(wp_is_mobile() && $args['menu_id'] == 'avia-menu') { $args['menu'] = 'main-menu-mobile'; } return $args; } add_filter( 'wp_nav_menu_args', 'av_different_mobile_menu' );
so the “main-menu-mobile” menu would be your mobile menu, the problem is that this function doesn’t determine what is “mobile” by screen size, it only returns the HTTP_USER_AGENT which is unreliable (more)
My own tests shows that my desktop chrome in developer mode sends the “mobile” agent, but my Android chrome doesn’t. Firefox and Edge both don’t send the right user agent.
A more reliable solution would be to have one menu and hide menu items based on screen width
Or to write a more complex function that replaces the “wp_is_mobile” with a function that gets the screen width, I had hoped to give you that here, but I didn’t find it within a reasonable amount of time.
Please consider using the linked solution above.To remove the bold text on the menu items such as “roundtrips”, please remove the “strong” tags from the menu titles.
Best regards,
MikeHi,
Adding a custom class to the social share buttons will not work because we need to remove the padding and margin from the container that the buttons are in. If the buttons are in a color section, then please add a custom ID to the color section, if not then please try adding the buttons to a color section.
If you include a admin login in the private content area, I will be happy to demonstrate what I’m trying to explain.
But please explain what other sections were changed with this solution so we can see if this can be corrected.Best regards,
MikeHi,
I see that you do have a old header.php that should be updated with a current version because Enfold v4.1.1 has some new functions in it, that has caused issues for sites that use a child theme and a old header.php with the latest version. Mostly the errors have to o with the lightbox script.
Since you said you developed this site a while back and don’t remember your changes, I created a difference report between your child theme header.php and the header.php in v4.0.7, so you can see your changes and then figure how to incorporate them into the v4.1.1 header.php
Please see link in the Private Content area.
I also see that your child theme style.css has a warning that there are 66 errors that need to be corrected.
These two issues could be the cause for your issue, please try addressing, and let us know if this helps.Best regards,
MikeHey mynoxin,
To change the background color of the button, Please try this code in the General Styling > Quick CSS field:.avia_cart_buttons.single_button:hover { background-color: rgba(127, 191, 63, 0.5) !important; } #top .avia_cart_buttons .button:hover > span,#top .main_color .avia_cart_buttons .button:hover { color: #fff !important; }
To change the sale price:
ins span.woocommerce-Price-amount { color: red !important; font-size: 20px !important; } span.price del { color: gray !important; }
Best regards,
MikeHey atifaijaz123,
I took a look at your page and saw that your logo was too big for the header, as it was extending down over the image, so this css make it smaller along with the header.
Please try this code in the General Styling > Quick CSS field:@media only screen and (max-width: 770px) { #header {height: 80px !important; } .responsive #top #header .logo,.responsive #top #header .logo a,.responsive #top #header .logo img {max-width: 120px !important; } }
Please clear your browser cache and check.
Best regards,
MikeHey Erwin,
I see that you are using a child theme, do you have any modified theme files in your child theme, such as a header.php?
Can you please include a admin login in the private content area so we can take a closer look.Best regards,
MikeAugust 18, 2018 at 8:09 am in reply to: Certain pages formatting changes, can't save and it goes to text editor #998660Hi,
Well it is possible for a plugin to have a conflict and change a page or a tag, but as you pointed out it would be hard to pin point it. But you could use a page monitoring service to watch your pages and notify you of changes. There are many companies that offer this and most have free plans or low cost plans, this would save you a lot of time and give you some peace of mind.
If you want to try this, look for one that checks the “source code” of the page, such as Change Tower here are a few others:
https://visualping.io/
https://www.wachete.com/Best regards,
MikeAugust 18, 2018 at 6:36 am in reply to: Certain pages formatting changes, can't save and it goes to text editor #998641Hi,
Yes I did look for open tags a while back and didn’t see them, and I too had thought we could rule it out, but the errors kept pointing in that direction so I looked again with the help of some software, which found them.
I would say that the errors could be in your template because the errors were in the same place on every page, so if you test your pages and make a list of them I will help correct it.
I don’t believe that there is anything causing them now.
Sorry this took so long to find.Best regards,
MikeHey ESWEENEY113,
I took a look at your site and the red burger menu is showing on my Android device, I assume that you are using a iPhone?
Please tell us which models you have seen this error on and please include a admin login in the private content area so we can take a closer look.Best regards,
MikeHey Dutchman,
Sorry this feature is not available yet and to do so would be some intensive code that is beyond what we can offer here, but you could hire a freelancer.Best regards,
MikeHi,
If I understand correctly you would like a center logo with your menu on the right & left. Please see this solutionBest regards,
MikeHi,
Glad Jordan was able to assist, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeHey Maneschka,
I took a look at your menu, and it looks like your css is working correctly, but the reason your menu is not transparent is because your rgba color code is .85, which is closer to a solid color that a transparent color.
Please try adjusting to .5 like this:/* Menu area background */ #top #wrap_all .av-burger-overlay-scroll { background-color:rgba(255,255,255,.5)!important; }
If this doesn’t help, please include a admin login in the private content area so we can take a closer look.
Best regards,
MikeHey RobinAParker,
These images are giving the 404 error, not found. While I see that the file does exist.
I recommend checking the file permissions for the files to at least 755.
If this doesn’t solve, then please check your .htaccess for a rule that is blocking the files.Please see this article of a similar issue: How to Fix WordPress Failed to load resource 404 status error
Best regards,
MikeHi,
You can use this css in your Enfold Theme Options > General Styling > Quick CSS field
to make this element full width:#top.home #after_section_9 .container { padding: 0px !important; margin: 0px !important; min-width: 100% !important; }
but I recommend adding a custom ID to the element and then replacing “after_section_9” with the new ID in the code above.
This is because this ID could change if you edit the page or add more elements.Best regards,
MikeHey Maneschka,
Please try this code in the General Styling > Quick CSS field:#top.page-id-265 #contact .container { padding: 0px !important; margin: 0px !important; min-width: 100% !important; }
Best regards,
MikeHi,
Thank you for the images, please try this css:#top .single-product-main-image .thumbnails a { border: none !important; padding: 0px !important; }
Best regards,
MikeAugust 18, 2018 at 3:11 am in reply to: Certain pages formatting changes, can't save and it goes to text editor #998609Hi,
I Enabled the Avia Layout Builder Debugger and went to the pages in the Private Content area, and tried the edit a text block element and then tried to save, which did the error you spoke of.
I then searched for open “strong” tags and found two of them, one in the h1 title, and the other in the h2 sub-title.
I then added the missing closing tags to them and saved, and now the page works and saves correctly.
Please clear your browser cache and check, and if you find any other pages with this error, please let us know.Best regards,
MikeAugust 18, 2018 at 2:18 am in reply to: Enfold header menu problems after updating to latest Enfold theme #998608Hi,
It is great news that you found out that it was the avis.js causing the issue.
I can try to compare your modified avis.js with the v4.0.7 version to determine what you were trying to do back then.
Once we know that, you will be able decide if you want the add the modifications to the current version.
Please upload the modified file via Dropbox or Google Drive so I can compare, I have a copy of v4.0.7 to work with.In your last post you indicated that your live site has the error, even though you removed to custom files. I have checked and don’t see the error, so I assume you have corrected the issue, or the server cache has been cleared?
Best regards,
MikeHi,
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeAugust 17, 2018 at 7:01 am in reply to: Change the default colour of the dark translucent button #998279Hi,
To change the font color of the button with the boarder, try this:#top .avia-button.avia-color-dark { color: #ec0928 !important }
As for vertically centering the text on the buttons site wide, we will need to make them more uniform, on the one page there are 3 different buttons, with 3 different heights.
Please try this css:.avia-button.avia-size-x-large,.avia-button.avia-button-fullwidth,.avia-button.avia-size-large { padding-top: 12px !important; } .avia-button-wrap.avia-button-center,.avia-button-wrap.avia-button-left { height: 45px !important; max-height: 45px !important; }
Best regards,
Mike -
AuthorPosts