Forum Replies Created
-
AuthorPosts
-
February 18, 2022 at 1:01 pm in reply to: Buttons flipping below each other in responsive view #1341336
Hi,
Portrait and landscape mobile widths for a background image would be very different, so you will deed to use different images, to know the widths for your images test your device with this tool: screen resolution, you may need to reload for portrait and landscape.
Then model this css:@media only screen and (max-width: 767px) and (orientation: portrait) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } } @media only screen and (max-width: 767px) and (orientation: landscape) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } } @media only screen and (min-width: 768px) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } }
Note the first rule:
(max-width: 767px) and (orientation: portrait)
is for portrait mobile.
The second rule:(max-width: 767px) and (orientation: landscape)
is for landscape mobile.
The last rule is the same as the last rule before and is for portrait and landscape tablet / desktop.Best regards,
MikeHi,
The above example was for portrait & landscape mobile, try adjusting the font size smaller or larger to suit your needs.
The socket is set to 85% width, if you like you can also change this for mobile with this:@media only screen and (max-width: 767px) { .responsive #top #socket > .container { width: 100%; max-width: 100%; } }
this will set the width to 100% to give you more room, try a combination of different widths and font sizes to suit your needs.
If you still have trouble post a screenshot of what you see and what you expect and the width (screen resolution) of the device you are using.Best regards,
MikeHi,
Glad to hear, I tested for the “white strip” on Windows in Chrome, Firefox, & Edge but didn’t see it, what browser and OS are you using?
Can you make a screencast of it?Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeFebruary 17, 2022 at 2:23 am in reply to: Corrupted Thumbnails on Enfold Latest News Sidebar Widget #1341012Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Guenni007, getting the items count on case “All” is above my knowledge so I submitted a feature request to add this option in the Post Slider like it is in the Content Slider and Günter has opened it, this could take a while as the Dev Team has a lot on their plate, but I feel encouraged that in a future update this may be available.
For now, I recommend setting the number of entries as in the screenshot above.Best regards,
MikeHi,
Instead of the above code at line 1059 in postslider.php add this code:protected function slide_navigation_dots() { $args = array( 'total_entries' => $this->atts['items'], 'container_entries' => $this->atts['columns'], 'context' => get_class(), 'params' => $this->atts ); return aviaFrontTemplates::slide_navigation_dots( $args ); }
in the backend Post Slider ▸ Content ▸ Filters ▸ Entry Number you will need to choose the number of entries, such as 6 in this example:
I have submitted a feature request for the Dev Team to review this for a solution to allow the “All” option in Entry Number to work.Best regards,
MikeHi,
Thanks for the link to your site, in your cache plugin file to have this css:@media only screen and (max-width: 767px){ .responsive #scroll-top-link { display: block!important; } }
so you either need to clear your cache plugin or you need to remove this from your css stylesheet, try checking your Child Theme Stylesheet, the General Styling ▸ Quick CSS field, and the WordPress ▸ Customize ▸ Additional CSS field
if you don’t see this rule in any of those places, then clear and disable your wp-rocket and your browser cache and check again.
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHi,
Glad Yigit was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Yigit was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey Fberguno,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:.avia-slideshow-arrows.avia-slideshow-controls { display: none; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Amer Obeidi,
To update your version of Enfold you will need to download the latest version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
Best regards,
MikeHey markus-fischer,
Thanks for the screenshot and the link, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:@media only screen and (min-width: 768px) and (max-width: 1117px) { #top.home #av_section_2 .avia-builder-el-22 { bottom: 0px; position: absolute; right: 0; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
You are getting the jQuery is not defined error, do you have the Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer option enabled?
Try this script instead:function custom_top_banner() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $( "<div id='banner'>This is a banner</div>" ).insertBefore( "#header_meta" ); })(jQuery); }); </script> <?php } add_action('wp_footer', 'custom_top_banner');
but use the same css from above.
Best regards,
MikeHi,
For v4.8.9.1 please follow these steps, ensure your child theme includes this function in your functions.php to override the shortcode elements:function avia_include_shortcode_template( $paths ) { if( ! is_array( $paths ) ) { $paths = array(); } $template_url = get_stylesheet_directory(); array_unshift( $paths, $template_url . '/shortcodes/' ); return $paths; } add_filter( 'avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1 );
Then copy the parent theme postslider directory to your child theme /shortcodes/ directory, so the full directory path will be:
/wp-content/themes/enfold-child/shortcodes/postslider/postslider.php
Then on line 1059 in postslider.php add this code:protected function slide_navigation_dots() { $html = ''; $html .= "<div class='avia-slideshow-dots avia-slideshow-controls'>"; $active = 'active'; $entry_count = $this->atts['items']; $slidenumber = $entry_count / (int) $this->atts['columns']; $slidenumber = $entry_count % (int) $this->atts['columns'] ? ( (int) $slidenumber + 1) : (int) $slidenumber; for( $i = 1; $i <= $slidenumber; $i++ ) { $html .= "<a href='#{$i}' class='goto-slide {$active}' >{$i}</a>"; $active = ''; } $html .= '</div>'; return $html; }
then on line 1014 replace$output .= $this->slide_navigation_arrows();
with
$output .= $this->slide_navigation_dots(); //$output .= $this->slide_navigation_arrows();
then add this css to your Quick CSS:#top .avia-content-slider { overflow: visible; } #top .avia-content-slider .avia-slideshow-controls { bottom: -30px; } .avia-slideshow-dots a.active, .avia-slideshow-dots a:hover { opacity: 0.8; filter: alpha(opacity=80); background: #000; }
Best regards,
MikeHi,
Strange, something seems to be wrong with how your elements behave on the backend, how did you update, did you overwrite the theme directory via FTP?
This could cause an error because it could leave some older files in place.
Try uploading to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
Best regards,
MikeFebruary 15, 2022 at 12:13 am in reply to: Search page possibly creating outgoing internal links contain nofollow attribute #1340607Hi,
So you mean that the semrush report says the URLs are appended with ?s= not that they actually show this in the browser address bar when you check?Best regards,
MikeFebruary 14, 2022 at 2:22 pm in reply to: Buttons flipping below each other in responsive view #1340497Hi,
Parallax doesn’t work on iPhones this is a known Apple issue that has been going on for a few years, Apple must fix this, we can not.Best regards,
MikeHi,
You can add two rules, so remove the one above and add this instead:@media only screen and (max-width: 767px) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } } @media only screen and (min-width: 768px) { #top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; } }
then change the first image for mobile and the second for desktop, which means to use different images.
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 14, 2022 at 2:11 pm in reply to: Search page possibly creating outgoing internal links contain nofollow attribute #1340494Hi,
I blurred the first image, perhaps I’m not understanding what your issue is, when I check your pagehttps://domain.com/blog/page/2/
the trailing/?s=
is not added. Do you find that it is?
If you are clicking the link you posted above with the trailing/?s=
such ashttps://domain.com/blog/page/2/?s=
then it will be passed to the url, any parameter after a question mark will be passed, this is normal and expected for WordPress.
But I’m not sure how this relates to the function above to Remove “nofollow” from search, as this is working correctly on your site, here is when the function is disabled:
and here it is enabled, note the “nofollow” is removed
Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey Jak73,
To use a background image with the siteloader try this css:#top .av-siteloader-wrap { background-repeat: no-repeat; background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg); background-position: 50% 100%; background-attachment: scroll; background-size: cover; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you for your patience, to follow the steps of adding a child theme and importing the parent theme settings, it should take no more than 5 minutes.
Please note that once your child theme is installed and activated and you followed Step 4: Import parent theme options in our documentation.
After this step save the theme settings (big blue button), reload the frontend, if it doesn’t look like your parent theme did then go to the theme settings again (not the back button) sometimes the big blue button will be blue again, so click it again to save again and check the frontend again and this time it should be correct.Best regards,
MikeFebruary 14, 2022 at 12:30 am in reply to: Table with Widgets / Small Custom Images and Text Fields #1340423Hi,
Thank you for the link to your site and the screenshots, try this css:.main_color .avia-table .avia-heading-row { background: yellow; color: white; } .main_color .avia-table th:nth-child(-n+2), .main_color .avia-table td:nth-child(-n+2) { border-right-width: 0; } .main_color .avia-table td { vertical-align: middle; } .main_color .avia-table a { color: #e50000; }
see the expected results screenshot below
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 14, 2022 at 12:03 am in reply to: Displaying 2 Widgets – 36x36px – Next to Each Other on All Screen Sizes #1340422Hi,
I’ll try to catch up where you are in this thread, I see you two custom ID’s named “mf-footer-mail” and “mf-footer-linkedin”
and I see that you have this css in your stylesheet:@media only screen and (max-width: 767px) { #top #wrap_all #mf-footer-mail, #top #wrap_all #mf-footer-linkedin { width: 49%; float: left; margin-left: 1%; } }
and this seems to be working correctly on every page that I check, so is there anything more to help with this?
Best regards,
Mike -
AuthorPosts