Hi Enfold Team,
1.
i have some problems with navigation menu in mobile view between 768px and 960 px width (as seen via private link). Fonts are way too big and appear in 2 rows.
I just figured out, that the problem is gone after removing this code (which i need to keep) from quick css:
/*Masonry Image title hide on desktop*/
@media only screen and (min-width: 960px) {
.av-inner-masonry-content {
display:none !important;
}
Any idea, why?
2.
And on the same resolution, i see the cart symbol in the upper right corner, which should be removed. (and is in desktop mode).
Thanks for help, Tobi
CBParticipant
Hello Kriesi Team,
i work with a pretty complex content slider to show the different steps of a tutorial.
The problem is that some elements of a slide which comes later (lets say #10) are loaded in the first slide. These elements are not visible but appear on top of other visible elements making it hard for instance to click a button (because there is an overlay on top of it).
This can be seen if you load the html of the site.
Thank you very much for your help in advance,
I added the following to quick css:
.template-page.content.av-content-full.alpha.units{
vertical-align: top !important;
}
It seems to have fixed the the content so it is no longer in the middle. Let me know if this is what you needed.
Best regards,
Jordan Shannon
Below Code i replaced
if(!function_exists('avia_post_nav'))
{
function avia_post_nav($same_category = false, $taxonomy = 'category')
{
global $wp_version;
$settings = array();
$settings['same_category'] = $same_category;
$settings['excluded_terms'] = '';
$settings['wpversion'] = $wp_version;
//dont display if a fullscreen slider is available since they overlap
if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) ||
class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
$settings['type'] = get_post_type();
$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
$settings = apply_filters('avia_post_nav_settings', $settings);
if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
if(version_compare($settings['wpversion'], '3.8', '>=' ))
{
$entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
$entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
}
else
{
$entries['prev'] = get_previous_post($settings['same_category']);
$entries['next'] = get_next_post($settings['same_category']);
}
$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
$output = "";
foreach ($entries as $key => $entry)
{
if(empty($entry)) continue;
$the_title = isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
$link = isset($entry->av_custom_link) ? $entry->av_custom_link : get_permalink($entry->ID);
$image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
$tc1 = $tc2 = "";
$class = $image ? "with-image" : "without-image";
$output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
$output .= " <span class='label iconfont' ".av_icon_string($key)."></span>";
$output .= " <span class='entry-info-wrap'>";
$output .= " <span class='entry-info'>";
$tc1 = " <span class='entry-title'>{$the_title}</span>";
if($image) $tc2 = " <span class='entry-image'>{$image}</span>";
$output .= $key == 'prev' ? $tc1.$tc2 : $tc2.$tc1;
$output .= " </span>";
$output .= " </span>";
$output .= "</a>";
}
return $output;
}
}
Hey Zitronenen!
Please edit your Tab Section element and choose to display your content top aligned :)
Regards,
Yigit
Hi,
You can try just comment the post_nav function at the functions-enfold.php in line 444 to 506. To facilitate, replace the code by this:
/*if(!function_exists('avia_post_nav'))
{
function avia_post_nav($same_category = false, $taxonomy = 'category')
{
global $wp_version;
$settings = array();
$settings['same_category'] = $same_category;
$settings['excluded_terms'] = '';
$settings['wpversion'] = $wp_version;
//dont display if a fullscreen slider is available since they overlap
if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) ||
class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
$settings['type'] = get_post_type();
$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
$settings = apply_filters('avia_post_nav_settings', $settings);
if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
if(version_compare($settings['wpversion'], '3.8', '>=' ))
{
$entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
$entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
}
else
{
$entries['prev'] = get_previous_post($settings['same_category']);
$entries['next'] = get_next_post($settings['same_category']);
}
$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
$output = "";
foreach ($entries as $key => $entry)
{
if(empty($entry)) continue;
$the_title = isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
$link = isset($entry->av_custom_link) ? $entry->av_custom_link : get_permalink($entry->ID);
$image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
$tc1 = $tc2 = "";
$class = $image ? "with-image" : "without-image";
$output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
$output .= " <span class='label iconfont' ".av_icon_string($key)."></span>";
$output .= " <span class='entry-info-wrap'>";
$output .= " <span class='entry-info'>";
$tc1 = " <span class='entry-title'>{$the_title}</span>";
if($image) $tc2 = " <span class='entry-image'>{$image}</span>";
$output .= $key == 'prev' ? $tc1.$tc2 : $tc2.$tc1;
$output .= " </span>";
$output .= " </span>";
$output .= "</a>";
}
return $output;
}
}
*/
Let me know if it works :)
Best regards,
John Torvik
Hi asinger777,
Here are a few articles on progressive loading:
https://optimus.keycdn.com/support/progressive-jpeg/
https://css-tricks.com/the-blur-up-technique-for-loading-background-images/
It could also be that the fonts size are adjusted by javascript, which does on document ready, but this can be reproduced on way lower connection speeds, which we cannot do much about.
There is a js error in console, it might also adding to js slowing down or stopping execution at all.
This _inbound.add_action should also be within document.ready.
Let us know if you have any more questions.
Best regards,
Victoria
Ok. Thank you Yigit for your answer. You can close this topic.
Thanks John but again this hasn’t changed a thing. The text comes in really big on top of each photo (on the phone – portrait). See screenshot link.
Hi there,
I’m not sure if this is a theme issue or woocommerce itself but the add to cart works fine on phone and desktop but not on ipad.
Im running up to date plugins and theme.
I presumed woocommerce would have it all over google if it was their issue but I haven’t found it.
All the best,
John
Hi – I am running the most recent version of Enfold and am getting an error message on a page that has a RSS Feed. It is intermittent – but happens more often than not. This is the error that appears at the top of the page, although the feed seems to updating.
Error Processing Feed: Use of undefined constant WP_CACHE_KEY_SALT – assumed ‘WP_CACHE_KEY_SALT’ at /home/content/a2pnexwpnas03_data02/88/3459288/html/wp-content/object-cache.php line 1294
The page link s below. Any advice you can give would be appreciated.
Thanks-Anna
Hey Ciaran1212!
I changed your code to following one
@media only screen and (max-width: 990px) {
#only-desktop { display: none !important; }}
@media only screen and (min-width: 990px) {
#only-mobile { display: none !important; }}
Please review your website now :)
Best regards,
Yigit
Alkesh MiyaniGuest
Hi Dev Team & Marketing Team,
Hope you doing well.
This is Alkesh here from Solwin Infotech.
Today, I checked your themeforest profile and noticed that you have really nice items in your profile and you are getting regular sales with your WordPress themes.
Congratulations for your 186000+ sales as you have completed noticeable milestone. Your themes have a nice and beautiful design with modern look & style, I am sure that sells will definitely keep growing in future.
I have one good suggestion for you, we have unique type of plugin with regular sales called “Blog Designer PRO” (https://codecanyon.net/item/blog-designer-pro-for- wordpress/17069678?ref=solwin), which enables user to change blog page and single page look with just few click.
I would say as if you can provide the support of Blog Designer PRO plugin with your themes then your theme will have 30 blog layouts with your theme, which will be fantastic feature for your theme.
Blog Designer PRO plugin is a weekly top sellers plugin from last few weeks – https://codecanyon.net/page/top_sellers and I am sure that you will get benefits of that too.
Same like WooCommerce support with any themes, you can provide support for Blog Designer PRO plugin. And you can announce and display that your theme provide support of Blog Designer PRO plugin.
Let me know if you are interested to add support of your theme with Blog Designer PRO plugin.
Best Regards,
Alkesh
I am very sorry i saw this topic a lot of times, but allways the same answer:
Use a button or image an set the vimeo Link manually and it opens in a lightbox.
But not on my page. I deactivated all plugins, but no lightbox will open.
Hi,
This appears to be fixed. I used the following code:
@media only screen and (max-width: 990px) {
#sub_menu1 { display: none !important; }}
Your initial css was not working likely because there is an error somewhere in your quick css. I made sure to add my code to the very top to ensure it runs first. Let me know if this is what you needed.
Best regards,
Jordan Shannon
Hi,
When I put this code in Quick Css it displays thumbs dimension correctly 180×180
see url: http://fritzimages.com/blog/?s=camden
.search-result-counter img {
border-radius: 0!important;
}
.search-result-counter {
width: 180px;
height: 180px;
}
#top .template-search.content .entry-content-wrapper {
padding-left: 200px;
}
However, when I put this code into my custom.css file it displays the thumbs incorrectly very very small dimension.
/*12) Add thumbnail to search results */
.search-result-counter img {
border-radius: 0!important;
}
.search-result-counter {
width: 180px;
height: 180px;
}
#top .template-search.content .entry-content-wrapper {
padding-left: 200px;
}
/*
I have tried purging caches, and a lot of other ideas to fix the problem, but I am stumped.
Thanks for your help
Ed
Fritzimages.com
-
This topic was modified 8 years, 11 months ago by
EdFritz.
Hi Kriesi team ! :)
I want to add a special header on the “Atelier” page because the background is too dark and the menu text illegible.
So I tried several combinations, I lost time and maybe my mind :D
Anyway, the best combination I found is :
1) No transparency header on the page
2) Add Quick CSS :
.header_color .header_bg {
background-color: rgba(255, 255, 255, 0.6);
}
(the top image on imgur)
The header was transparent but not fixed on the Full screen Slider, so I added this code to fix the header on the full screen slider :
#main {
padding-top: 0 !important;
}
(Bottom image on imgur)
The header is like I want, perfect ! But there is a gap under the slider (white space) who isn’t full screen anymore…
Please help me !
Thanks in advance.
Romainp841.
-
This topic was modified 8 years, 11 months ago by
romainp841.
Hi,
I have checked it out and it seems the new version of layerslider integrated into Enfold isn’t compatible with the boxed layout. I have added this css code in Quick CSS (located in Enfold > General Styling) which fixes the slider navigation elements:
#top .avia-layerslider .ls-wp-container .ls-slide-backgrounds * {
max-width: 100%;
}
#top .avia-layerslider .ls-wp-container {
width: 100% !important;
}
Will report this to Kriesi and our devs, for the meantime please adjust the layer elements so it goes to center.
Cheers!
Nikko
Waiting for a bug-fix, yesterday I just worked around the bugs by reorganizing the content in all tables:
– Since description rows don’t seem to show (at all) in mobile versions of pricing tables, I simply moved all the data from the ‘description row’, to a new ‘default row’ on top of the existing table.
– Since ‘heading rows’ don’t seem to show (at all) in mobile versions of pricing tables, when there is an ‘enter’ being used for alignment, I simply placed this data in a ‘default row’ instead of a ‘heading row’, and changed another ‘default row’ (without ‘enter’s’) into the ‘heading row’.
Now it looks all nice and sparky, and it all shows 100% alike on all types of different devices!
Hi.
Im trying to stop my menu from overlapping my logo on the site http://www.fishingtours.dk
I have tried this quickcss code but it did not help.
@media only screen and (max-width: 1130px) {
.av-main-nav > li > a { padding: 0 7px; }
div#header_main .container { padding-right: 10px; }}
I have also tried to set the “activate for mobile and smartphones with 990px browser width” under “header mobile menu behavior”
Any help would be greatly appreciated!
Hi pimroll,
Try adding this css code in Quick CSS (located in Enfold > General Styling):
@media only screen and (max-width:767px) {
#top #mobile-advanced {
background: #fff url('http://domain.com/enfold/wp-content/uploads/2017/02/logo.png') left 30px top no-repeat;
background-size: auto 89px;
}
}
Try to replace http://domain.com/enfold/wp-content/uploads/2017/02/logo.png with the url of your logo and probably adjust some of the code. Hope this helps :)
Cheers!
Nikko
Hey,
Try using this plugin: https://wordpress.org/plugins/simple-image-sizes/ then in Settings > Media you should be able to see sizes and widget should be 36 x 36, just change it to the value you like then regenerate the images or you might need to re-upload if there are no changes. Then on Quick CSS (located in Enfold > General Styling) try to add this css code:
#top .news-thumb img,
#top .news-thumb img {
width: 100px !important;
height: 80px !important;
max-width: 100px;
}
Just adjust the width and height as you see fit. Hope this helps :)
Cheers!
Nikko
Hello – Is this something I’m doing wrong at my end? The slideshow looks great on a laptop, but on my iPhone (old one, 4s), there are arrows to go through it, but 3/4 of the show is black and the last 1/4 at the bottom only shows the top tip of the image.
See this post as example:
Note: I wasn’t in Avia. Just regular New Post -> Add Media -> Create Gallery -> Type (Slideshow).
Thanks,
Csaba TothGuest
Hi,
sorry if I’m at the wrong place but I can’t starting a thread on support forum.
1., My lightbox not working on product lists. I tested in enfold demo and there is works!
I really need the bigger images to selling my (food) products!
2., Please visit the site and open the first (pizza) toggle! On the bottom You see custom pizzas which has options (Margherita+1…). I’m using shortcodes to display product lists. In tthis case not opens the product page just adds to the cart and not opens the product page.
3., How can I display the mini cart at the right side of the top bar
Thank You, Csaba.
Hi georgecornelius,
In general, you can’t really style the option tag. This element is rendered by the OS, not HTML. It cannot be styled via CSS. There are replacement plug-ins that look like a SELECT, but are actually composed from regular HTML elements that CAN be styled.
In Firefox, your options get orange, while Chrome render it with it’s own styles.
Another this is, you button for actually making a reservations turns white on hover and the text disappears. This I would fix. Here is the css rule:
#top .av-custom-form-color .button:hover {
color: #e87b14;
}
Let us know if you have any more questions.
Best regards,
Victoria
Hello Ismael,
In reply to you earlier question:
Please ask the Toolset support if they have an existing function to retrieve registered custom post types via their plugin.
I have the following answer from toolset:
Our developers have responded to their question with:
“Types registers its custom post types at init:10 which is the usual place to do such thing: https://codex.wordpress.org/Function_Reference/register_post_type" which means that get_post_types should work as intended.
I’ve escalated this to our internal developers in case they can help offer insight as to why these CPTs aren’t being shown. I’ll keep you updated with anything they find.
is it possible to force the contect of a color section to the top because now it centers in the middle.
Hey!
Thank you for the update. Please add this in the Quick CSS field:
#top .av-submenu-container {
max-width: 1032px !important;
}
Cheers!
Ismael