Forum Replies Created
-
AuthorPosts
-
Hey!
Because the image overlay is not added on mobiles by default (this is an additional HTML node added via JS). We’d need to use another approach, remove all the previous
play-buttoncode and use this:.play-button a { position: relative; } .play-button a:after, .play-button a:before { content: ''; position: absolute; background: red; color: white; font-size: 80px; height: 80px; width: 80px; line-height: 80px; display: block; top: 40%; left: 0; right: 0; margin: 0 auto; border-radius: 250px; } /* Adjust this for smaller screens */ @media only screen and (max-width: 767px) { .play-button a:after, .play-button a:before { font-size: 80px; height: 80px; width: 80px; line-height: 80px; top: 40%; } } .play-button a:before{ z-index: 1; } .play-button a:after { content: '\e801'; font-family: 'fontello'; z-index: 2; } /* Hide default Enfold overlay */ .play-button .image-overlay { display: none !important; }Best regards,
JosueApril 27, 2015 at 3:00 am in reply to: Enfold: Using CPT wanting to show related (tag) content #434960Hey!
ALB stands for Advanced Layout Builder, when you enable that on any type of post the template-builder.php template is loaded instead of the default singular template (in case of a custom post type would be single-slug.php, fallbacks to single.php).
Best regards,
JosueHola,
Prueba con este codigo:
.big-preview.single-big, .big-preview.single-big img { width: 100%; }Sobre lo otro la verdad que no veo ningun icono en el socket, te refieres a esto? http://a.pomf.se/axxnvh.png
Saludos,
JosueApril 26, 2015 at 10:43 pm in reply to: Enfold: Using CPT wanting to show related (tag) content #434928Hey!
Related Posts are not showing because you’re using ALB with them, i’ve created a custom template-builder.php in your child theme and added this line after
$content:get_template_part( 'includes/related-posts');You can see it working here, i’ve assigned a test Tag called “test_tag” to those two posts.
Regards,
JosueHi!
Have you tried disabling all third-party plugins? the gallery element seems to be affected by this stylesheet.
Cheers!
JosueYou are welcome, always glad to help :)
Regards,
JosueHi,
Correct, alternatively you could use a child theme and have these mods stored there instead on the parent theme.
Also check:
http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/Cheers!
JosueHey!
Try with this code instead:
.play-button .image-overlay { background: transparent !important; opacity: 1 !important; left: 0; top: 0px; overflow: hidden; display: block; height: 100%; width: 100%; }Cheers!
JosueHey!
Can you provide a screenshot of the issue?
Best regards,
JosueHey Bernd!
You’re welcome, make sure to backup all modified files so you can restore them in case of updating the theme.
Regards,
JosueHi!
Change the code to this:
img.mfp-img { max-height: none !important; }Cheers!
JosueHey!
Found a workaround, check it. I’ve set a custom ID to that masonry element and added this to Quick CSS:
#custom_masonry .av-masonry { max-width: 1650px; margin: 0 auto; }Best regards,
JosueThat could be done via CSS, post a mockup of what you would you want to achieve in your blog posts.
Regards,
JosueHey!
Sorry for that, the ligthboxes on that page seem to be working as expected.
Cheers!
JosueHey!
Use this code instead:
.avia-button-fullwidth:hover { opacity: 0.9 !important; } .avia-button-fullwidth .avia_button_background { display: none !important; }Best regards,
JosueHi Bernd!
It doesn’t work because you’re assigning the grid query to the global query ($wp_query), which in this case is the page being shown. What you need to do, is use the $query variable (provided by the plugin).
However, as the $entries variable is protected inside the grid class you’d need to create a public function similar to
use_global_query, specifically for this use, something like this (config-templatebuilder/avia-shortcodes/portfolio.php):public function use_search_and_filter_query($query) { $this->entries = $query; }And then in 7033.php:
<?php $grid = new avia_post_grid(array( 'linking' => 'ajax', 'columns' => '3', 'contents' => 'excerpt', 'sort' => 'no', 'paginate' => 'yes', 'set_breadcrumb' => false, )); $grid->use_search_and_filter_query($query); echo $grid->html(); ?>I’ve done this modification right now and it seems to work, check it.
Regards,
JosueYou are welcome, always glad to help :)
Regards,
JosueHey!
No, that’s not possible. Color Sections are fullwidth element therefore can not be contained (they’re meant to be containers), what exactly you want to achieve? perhaps we can think of a better solution.
Regards,
JosueHi,
If you say it only happens with LayerSlider 5, i’d suggest rebuilding that slider from scratch, perhaps some content in a layer is triggering the issue.
Regards,
JosueNo, you don’t have to worry about that, it’s just an empty element without any text.
Cheers!
JosueApril 24, 2015 at 2:19 am in reply to: Mobile Menu – Not displaying at all & how can I change the look #433850Ok, let’s try another things, but first please update the theme to the latest version (3.1.3).
Best regards,
JosueApril 23, 2015 at 9:24 pm in reply to: Mobile Menu – Not displaying at all & how can I change the look #433773Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueApril 23, 2015 at 9:19 pm in reply to: Mobile Menu – Not displaying at all & how can I change the look #433768April 23, 2015 at 9:18 pm in reply to: 'Show excerpt in all magazine blog list' with "Read More" link #433767Hi!
I guess you mean if a new feature or option is added to the Magazine element (in a future version of Enfold), in that case, you won’t have it, as you’re using the child one, however a quick comparison and following merging could easily sort it out.
Best regards,
JosueHi,
That’s possible but you’d need to code it in HTML, for example you could have a sentence like this:
This is english, <span class='hebrew-font'>and this is in Hebrew</span>.And then in Quick CSS:
.hebrew-font{ font-family: "Alef Hebrew"; }Makes sense?
Regards,
JosueHey!
I tested that code using DevTools and it did remove the border, can you post a link to the page where you’re trying this?
Cheers!
JosueI see, yes, please hand me a WP administrator account via private reply.
Best regards,
JosueApril 23, 2015 at 4:39 am in reply to: How to prevent Custom Post Type from being treated like Blog Post #433214You are welcome Brendon, glad to help :)
Regards,
JosueHi!
It’s because you have a modified footer.php in your child theme, you are missing this part:
if(avia_get_option('footer_social', 'disabled') != "disabled") { $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); echo avia_social_media_icons($social_args, false); }I’ve added it now and you can see that the icons are showing up.
Cheers!
JosueYou are welcome, hope re-installing does the fix :)
Cheers!
Josue -
AuthorPosts
