Forum Replies Created
-
AuthorPosts
-
I tired adding the meta information in the head below and it didn’t work. How can I add this in the <head>?
It seems Couldinary support found the issue. please see below. Not sure why the image recommendation is Logo Dimension: 340px * 156px if it’s reduced to 300 x 100.
“The theme is controlling the logo size, so I found this page: https://kriesi.at/documentation/enfold/logo/ which gives some details about customization. Based on this, it seems we can use a hook to handle the logo but the $logo itself is a full string so using the following hook in the functions.php of the theme here, we can add the right width and height to the element, as in this example:
add_filter(‘avf_logo_final_output’,’resize_logo’);
function resize_logo($logo)
{
$logo = str_replace(“height=\”100\” width=\”300\””,”height=\”157\” width=\”341\””,$logo);
return $logo;
}Now the logo doesn’t look stretched anymore.”
HI Nikko,
yes the 300 x 100 works but that doesn’t solve the problem. I would like the logo to be larger and as recommended 340 x 156. We need to find where the compression is happening.Hi, I don’t see any compression plugins other than SG optimizer and compression is off. I have deleted and re-uploaded the logo multiple time. Can you please have a look?
I just reverted to cloudinary and wordpress which is a temporary fix. Could you continue to look into it though so the background images on the colour sections are pulled from cloudinary? Right now they are being pulled from the website.
Guenni007, sorry, I am confused by your comment. Are you part of support?
Hi,
After reaching out to Cloudinary as well they seem to think Enfold is hardcoding the link. I would rather find a fix than do temporary css on each background image as there are quite a few. Please let me know if this is something you can help fix today.
See below.
hardcoded on the CSS, our delivery system on the frontend won’t be triggered hence the image not being displayed.
I believe there might be a way to handle this via the theme probably by replacing the reference with the wp_get_attachment_url which should return a Cloudinary URL.
You can see the background image in the colour section before opening it but when you open the section , it is no longer there. Please have a look at the video then try it yourself.
September 14, 2022 at 9:23 pm in reply to: Product Slider not the same height for each product #1365048makes sense. From there I got it to work with the following:
#top .inner_product{
min-height: 520px;
}Perfect. Thank you again
Ok, that worked. Thank you. How do I get the line height with less spacing now? I tried to add line-height: 100%; but it didn’t work.
Never used the button row element and just saw the shortcodes. Noted and easier. Thx
It also overrides the font color and makes it white as well on hover
that fixed the issue for the single button but not the other 2 (in the next 2 tabs). I could inspect each button and do the same for each but that would be short term solution if more buttons were needed. Would it be possible to maybe create another button class and style the class? How would we go about this in enfold?
July 18, 2022 at 8:36 pm in reply to: Layerslider Text cut off after turning mobile sideways #1358691Hello, I opened a ticket at Layerslider after buying the plugin and it is a setting. See below.
“turn on the “Allow Restarting Slides on Resize” option. You can find it if you open the Project Settings, turn on the Advanced Settings at the bottom, and click “Miscellaneous”.”
July 13, 2022 at 4:44 pm in reply to: Layerslider Text cut off after turning mobile sideways #1358221I just tried it an no change, even after emptying the cache
July 13, 2022 at 5:10 am in reply to: Layerslider Text cut off after turning mobile sideways #1358146Below is a link to a movie recording. The issue happens on both an iphone and an android. To reproduce it you need to load the page vertically then turn the phone horizontally after it has loaded
Thank you. That worked great!
that worked. Thank you
here are the urls to the icons:
https://res.cloudinary.com/optipath-systems/image/upload/v1657502137/Icons/E800_nygtq6.svg
https://res.cloudinary.com/optipath-systems/image/upload/v1657502137/Icons/E801_nuoyif.svg
https://res.cloudinary.com/optipath-systems/image/upload/v1657502137/Icons/E802_cppryj.svgI tried uploading them to https://fontello.com/ as per instructions
- This reply was modified 2 years, 5 months ago by virtualbis.
fantastic. Thanks Mike
That is perfect. Thanks Mike. Greatly appreciated!
Yes. see below. It was in the screenshot
sorry, I had the password changed. See below
- This reply was modified 2 years, 6 months ago by virtualbis.
Appreciate the explanation. Thanks Mike. Everything is working now.
I just created a shortcode to do this and it is working but the sortcode is not in the same place as the rest of the text. Instead of being to the right it is aligned to the left. I noticed it is outside of <div class=”phone-info “>. How can I include the shortcode in the same div?
The text in the box is: test [user_logged_in]
The shortcode is below:
function user_logged_in_function() {
if ( is_user_logged_in() ) {
echo ‘<div class=”phone-info “>Logout</div>’;
}else{
echo ‘<div class=”phone-info “>Login</div>’;
}
}
function register_shortcodes(){
add_shortcode(‘user_logged_in’, ‘user_logged_in_function’);
}
add_action( ‘init’, ‘register_shortcodes’);Hi,
this shows bot login and logout. I would like to only have one at a time. showing “login” when not logged in and “logout” when logged in.solved. please close or delete. caching issue
If there isn’t anything wouldn’t a little bit of javascript work to show/hide certain elements based on the selection? If there is a similar snippet or I get a little help please point me in the right direction. :-)
Thanks Rikard. That did the trick
-
AuthorPosts