Hi,
Great, glad you found a solution and thanks for sharing :-)
Please let us know if you should need any further help on the topic.
Regards,
Rikard
Hi,
Could you try to increase the pixel value in the code Yigit sent maybe? For instance:
#top .avia-slider-testimonials.avia-testimonial-wrapper .avia-testimonial-row {
min-height: 700px;
}
Best regards,
Rikard
Hey jimmytkk,
Thank you for using Enfold.
Could you please provide a url to the site with the issue? Please try the solution provided in the previous thread.
// https://kriesi.at/support/topic/upload-image-giving-http-error-theme-error/#post-514811
Best regards,
Ismael
Hi,
Thank you for the info. I was able to reproduce the issue and it is caused by the “autopause” parameter. We added a temporary fix in the functions.php file.
// https://vimeo.com/help/faq/sharing-videos/embedding-videos#how-do-i-set-videos-to-autoplay-or-loop-when-i-embed-them
add_action('wp_footer', 'ava_iframe_parameters');
function ava_iframe_parameters(){
?>
<script>
(function($){
$(window).load(function() {
// -------------------------------------------------------------------------------------------
// youtube parameter
// -------------------------------------------------------------------------------------------
function avia_iframe_parameters(container)
{
var iframe = jQuery('iframe[src*="vimeo.com"]', container);
iframe.each(function()
{
var current = jQuery(this),
src = current.attr('src');
if(src)
{
if(src.indexOf('?') !== -1)
{
console.log('test: ' + src);
src = src.replace(/\autopause=1/g, 'autopause=0&autoplay=1');
src = src.replace(/\autopause=0/g, 'autopause=0&autoplay=1');
src = src.replace(/\loop=0/g, 'loop=1');
}
current.attr('src', src);
}
});
}
avia_iframe_parameters('body');
});
})(jQuery);
</script>
<?php
}
Best regards,
Ismael
-
This reply was modified 9 years, 5 months ago by
Ismael.
Hi,
1.) A modified code was provided here. https://kriesi.at/support/topic/missing-category-info-in-post-meta-infos-using-alb/#post-589014
2.) Yes, unfortunately, the share link probably hooks (https://developer.wordpress.org/reference/functions/do_action/) on to something but that hook is not available in the template-builder.php file.
3.) Great! Glad it is working.
Best regards,
Ismael
I solved first issue with Custom Css:
li:last-child > ul.sub-menu{
margin-top:-170px;
}
Can you assist with second issue: disable hover red underline effect on “Call Us NOW..”
Thanks.
Thanks for the quick response but I still can’t seem to get it too work. My quick css looks like this
#menu-item-3194 a span {
background-color: #green ;
color:white;
}
#top .header_color .main_menu .menu ul li {
background-color: transparent;
color:black;
}
The green of the button is still a background color for all the submenu items. I’m pretty new to wordpress and am grateful for the support. Any advice that makes things look better eg underlining in a color is very gratefully received.
PS: I figured out how to change the color for the social icons on smartphones with that:
@media only screen and (max-width: 467px) {
.av_header_transparency .social_bookmarks li a {
color: #252525!important;
}
}
But still can’t figure out how to change the secondary menu’s color and font size on smartphones only.
But on iPad the header is transparent but the (linked) phone info text appears in black instead of white. Same with linked text on Desktop
Cheers,
Jan
Hey j-keogh!
There is the following CSS Class
#top .header_color .main_menu .menu ul li
which you have to also style, based on how you need.
But, from the design I see, I think the dropdown should have a background to the full submenu, which will brake a bit the words
and maybe a border below each of the word ( dashed maybe? ) so it can look good.
let us know if we can help further
Regards,
Basilis
Dear Support team,
I have the drop down menu activated and wants to switch off the flags. but at the moment I can see in the menue the drop down and the flags on the right next to the search bar.
I found this:
https://kriesi.at/support/topic/enfold-wpml-two-issues
But I can not findthe correct line in the header.php
Thank you very much!
Hello,
i have a problem on my site on mobile view.
The picture i set as background does not fit correctly in the view. On desktop everything looks fine but i don’t know how to let the background picture start centered top, right below my logo. I dont want mobile users to see only the legs of the persons.. likely more the faces – same as on desktop view.
Could someone please advise? Thanks!
Here is my site – http://www.laninlaw.com
I used images for the top line (titles) of the mega menu.
Is there a way I could just do this with text?
I need to wrap the titles on 2 lines.
Thanks,
Scott Lanin
New York, NY
My English is bad but I try anyway
Can you advise me on something please?
I want the header (top of head) of the accordion a different color. When I adjust in the setting than change everything.
Also, change the color of the font
On my page I have a problem with vertical alignment of the mega menu of “Rechtsgebiete”.
I already tried adding :”.avia_mega_div .avia-bullet {
margin-top: 8px
}” to quick css. Did not work unfortunately.
Any suggestions?
thank you.
Hi Yigit,
great to hear from you. That worked, thank you! :)
Two more questions to this topic:
1) I want the secondary menu item and the “phone-info”-text to have the same font size. But can’t manage to do it with this code. It changes the phone-info-size but not the secondary menu item:
.phone-info {
font-size: 13px;
.sub_menu font-size: 15px !important;
}
2) On smartphone the text colors of the social icons and linked texts are white on white. What can I do?
Thanks, Yigit!
Jan :)
Ismael, I entered the css code you provided in your last post, so the Quick CSS under Theme Options>General Styling now looks like what I have pasted below.
In addition, in your last post you had asked me to check the actual resolution of the SurfacePro. Here is what my client is telling me:
“The problem is still there. It does, however, change when I lower the resolution. I have my surface set at the highest resolution (2160×1440), which is the recommended resolution. If I lower the resolution, the banner gets better during each stage and looks perfect if I set the resolution low enough. However, I know a lot of people who use surface pros and the majority have it at the highest resolution.”
AND HERE IS THE CSS CODE AS IT NOW APPEARS IN QUICK CSS:
div .logo {
display: none !important;
}
.tablepress-id-1 {
width: auto !important;
}
.tablepress .column-1 {
width: 325px;
}
.tablepress .column-2 {
width: 200px;
}
.tablepress .column-3 {
width: 100x;
}
/*TEXT SIZE BIGGER AND COLOR DARKER PHONE INFO BAR*/
.phone-info {font-size: 20px !important;color:#2F4A87 !important;}
@media only screen and (min-width: 2000px) {
.surfaceclass {
margin-top: 0 !important;
}
}
@media only screen and (min-width: 2000px) {
#layerslider_8 .ls-bg {
margin-top: 0 !important;
}
}
Many thanks for your assistance, as I really need to get this resolved.
Best regards.
-
This reply was modified 9 years, 5 months ago by
Arrastia.
what does this mean:
fixed_frame = $('.av-frame-top').length ? $('.av-frame-top').height() : 0,
is it a shortend if clause ( i can not find the declaration of “?”) in a jquery clause.
$('.av-frame-top').length means the amount of .av-frame-top : so if there is one or not
if there is one .av-frame-top fixed_frame = $(‘.av-frame-top’).height()
if there is no .av-frame-top fixed_frame = 0
Edit Ok i found something about a ternary operator
(condition) ? (if_true) : (if_false)
but i can not understand why it should work for foveaworks – and not for me.
Hi, I am using Colour Sections to place unique headers on each of my pages. On the desktop, they look perfect. But on mobile devices, there is a large white space between the Colour Section and the content below.
What is causing that, and how do I remove it?
(Note: on the home page, I used a Full-Width Easy Slider for the header and it works great. But apparently, it doesn’t work on subsequent pages, because when I tried it, the page became full-width and the sidebar was forced to the bottom.)
What do you suggest?
Hello
the icon of woocommerce appears on the top of the social icons, hiding them (I see this problem on my iphone 4 in landscape mode).
I’d like to fix this problem, moving the icon cart on the left when, let’s say, the function mobile responsive is active.
Please, can you help me?
Thank you!
Best regards
L.
Ok great stuff thanks Josue,
One other thing I would like to be able to do is get rid of the vertical line the | that is between menu items.. I don’t see that option available..
I am using some word wrap stuff https://kriesi.at/support/topic/word-wrap-in-menu-or-have-the-menu-on-two-lines/#post-283385 + and other code to change the font size for the last menu item… https://kriesi.at/support/topic/how-to-change-font-colour-of-one-menu-item/#post-437743
What I am noticing see dev site http://bradev.pruuph.ca/ is that the lines between menu items is causing there to be extra space added above the menu items.. if I can either control the line beside/to the left of the last menu item [ #menu-item-13078 ] or get rid of the lines all together I think that would help things..
Let me know if this is a setting or if i Need some extra css..
cheers..
Hi Yigit,
thanks for your reply.
Actually, that doesn’t work. That’s because the right CSS class would have been .avia-caption.av-slideshow-caption
But never mind, I found the solution myself and you can close this topic.
Thank you for your help and best regards,
Andreas
Hi!
Please add following code to Quick CSS
#location-title .content {
vertical-align: top;
}
Best regards,
Yigit
Hi Emma!
It seems like you figured it out already by using following code
#top .av-caption-style-overlay a.av-masonry-item-with-image .av-inner-masonry-content {
background: rgba(20, 56, 123, 0.7);
}
Best regards,
Yigit
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#top .fullsize .template-blog .post .entry-content-wrapper {
background: rgba(204,204,204,0.5);
}
Best regards,
Yigit
I am having issues with the portfolio grid.
I have uploaded 16 images, all width:210px by height:271px but on the live page they all seem to be getting cropped to 210px x 185px making them more horizontal. I noticed in the source code that the image file name was being altered with the extension “-210×185.” If I change the link in the source code inspector to the original photo file name it displays correctly. As this is not a permanent solution, just a live preview, how can I stop it from automatically cropping the images, but instead show them full size?
Thank you
Hi
Yes, it is exactly what I need
Please note that https://kriesi.at/support/profile/ismael/ in that reply wrote about changing this code.
Maybe we can ask Ismael for details?
Thank you in advanced
Krzysztof
Hi yorsol,
1. on wp-admin page go to Settings -> Appearance -> Menus
2. Click on Screen Options on the top-right corner
3. Select Description checkbox
4. Expand your menu elements and remove text from Description text area
Cheers.
-
This reply was modified 9 years, 5 months ago by
Alex.