Forum Replies Created
-
AuthorPosts
-
Hi Vinay,
I replaced the previous code with the new one. Now it works fine. Thank you very much!
I tried to change the English word “Menu” at the left side of the burger icon to the German word “Menü”, but I couldn’t figure it out.
Could you please tell me how to do that?
Best regards,
zizibe1July 25, 2018 at 5:32 pm in reply to: Fullwidth slider caption fading in instead of sliding in sidewards #989825Hi Ismael,
Thank you for replacing the code.
Now, the caption is fading in, but the timing is taking too long.
The timing of the caption should be the same as here:
https://kriesi.at/themes/enfold-business-flat/
I experimented with the parameters of your code, but I couldn’t figure it out.
Could you help me please?
Best regards,
zizibe1July 25, 2018 at 4:58 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #989803Hi Ismael,
Thank you for your reply.
On my screen (2560 × 1440 px), the full size of the image is:
Original image: 1196 × 798 px
Gallery: 1196 × 798 px -> image sharp
Lightbox of Gallery: 1196 × 798 px -> image sharpOriginal image: 1210 × 806 px
Image Media Element: 1210 × 806 px -> image sharp
Lightbox of Image Media Element: 1199 × 799 px -> image blurryHow can I adjust the lightbox of the “Image media Element” so the image isn’t resized down?
Best regards,
zizibe1July 24, 2018 at 3:24 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #989220Hi Ismael,
Thank you very much for your support. Now, the white space between the images looks much better to me .
Because I wanted to reduce the white space a little bit more, I changed the parameters of your code like this:
First column:
width: 49.5%
margin-left: 0
margin-top: 1%Second column:
width: 49.5%
margin-left: 1%
margin-top: 1%Now, the white space between the images looks alright to me.
Back to the image sharpness. I think I might have figured something out. I went to the portfolio page of my website and measured the size of the big image by pressing “shift + cmd + 4” on my MacBook. Then I cropped the original image exactly to this size in Photoshop. If the big image is one or two pixels larger or smaller then the measured size, it looks slightly blurry, but if the big image is exactly the measured size, it looks sharp.
In my case, the ideal image sizes are:
Gallery:
Big image 1196 × 798 pxImage Media Element:
Big image 1210 × 806 pxBut now, I have an issue concerning the lightbox of the “Image media Element”. The image in the lightbox is resized down a little bit which makes it look slightly blurry. How can I adjust the lightbox so the image isn’t resized down anymore?
Best regards,
zizibe1Hi Vinay,
Thank you for your reply.
I added the code to Quick CSS. But now, the hover color is gone. When I hover on the word “Menü”, it stays black. It doesn’t turn red anymore when I hover on it.
How can I fix this?
Best regards,
zizibe1Hi Vinay,
Thank you for the code. I removed the previous code and replaced it with the new one.
I noticed the the slight delay in hover color change between the word “Menü” and icon.
But what about the issue I described in my last post? Do you see any possibility to fix this?
When you move the cursor away from the word “Menü”, first it changes its color to grey and then to black. But it should change its color immediately to black when you move the cursor away.
Best regards,
zizibe1Hi Victoria,
Thank you for your reply.
I added the code to Quick CSS. Now, when you hover on the word “Menü” next to the burger icon, it changes its color to red. When you move the cursor away from the word “Menü”, first it changes its color to grey and then to black. But it should change its color immediately to black when you move the cursor away.
How can I fix this?
PS: I also removed the code from Quick CSS and put it into themes/enfold/css/custom.css, but this didn’t work.
Best regards,
zizibe1July 22, 2018 at 3:11 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #988406Hi Ismael,
Thank you for your reply.
b.) I removed the code to re-align the main image and the gallery thumbnails. It worked fine.
c.) I uploaded the largest version of the jpg:
File size: 9 MB
Dimensions: 5208 × 3648Unfortunately, the big image of the gallery still is blurry. In the lightbox, the image is sharp no matter I uploaded the smaller or the larger version.
So I tried this workaround:
Instead of a gallery, I used a “1/1 Layout Element”, added an “Image Media Element” to it, inserted the jpg (1200 × 800 px, 356 KB). Now, the image is sharp. I also activated the lightbox ( Edit Element > Link Settings > Image Link > Lightbox).
Below, instead of the two thumbnails, I added two 1/2 layout elements, added an “Image Media Element” to each of it, inserted a jpg (1200 × 800 px) to each of it and activated the lightbox.
Now I would like to:
– align the first image to the two images below
– reduce the white space between the first image and the two images below
– reduce the white space between the second and the third imageHow can I achieve this?
Best regards,
zizibe1Hi Vinay,
Yes, it looks okay now. Thank you very much for your support.
I added the word “Menü” (in English: menu) before the burger icon by adding this code to Quick CSS:
/* add the word "Menü" before the hamburger icon */ @media only screen and (min-width: 769px) { li.av-burger-menu-main a:before { content: 'Menü'; position: absolute; left: -40px; top: 0%; }}
Now, the hover color of the word “Menü” is grey. I would like to change hover color to red.
How can I achieve this?
Best regards,
zizibe1July 18, 2018 at 4:53 pm in reply to: Fullwidth slider caption fading in instead of sliding in sidewards #987091Hi Basilis
Thank you for your reply.
I added the code at the very bottom of Quick CSS, but it didn’t work either.
Best regards,
zizibe1July 18, 2018 at 4:39 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #987089Hi Ismael
Thank you for your reply.
a) I found the mistake. I had the following code in my Quick CSS:
/* no border around gallery thumbnails */ #top div .avia-gallery img { border-style: none; padding-top: 0px; }
I removed “padding-top: 0px;”. Now the white space between the big image of the gallery and the thumbnails below is the right size.
b) I removed the code you’ve mentioned in your previous post. Now the thumbnails below the big image are all the same size.
But now the big image isn’t left-aligned and right-aligned to the thumbnails below anymore. Now the big image is wider then the thumbnail row below. It’s the same problem I’ve already described above in my post of July 13, 2018 at 12:08 pm, #985121.
c) Yes, I have a larger version of the image.
The original details of the image are:
File type: image/jpeg
Dimensions: 5000 × 3333 px
File size: 18.2 MBHere are the details of the uploaded image which is blurry:
File type: image/jpeg
Dimensions: 1200 × 800 px
File size: 356 KBWhat file size would you recommend to get a sharp but still fast-loading image?
I’ve read online that the file size should be smaller than 200 KB because of the visitors of the website who have a slow internet connection. Is that true?
Best regards
zizibe1Hi Mike,
Thank you for your reply.
Yes, currently I chose “Display as icon” for desktop because I opened a second topic with the title “Burger icon hover color”. This topic still is pending too. As soon as this issue is solved, I’ll choose “Display as text” for desktop.
When I’ll choose “Display as text” for desktop, the font colors of the menu always should be the same – for every screen size. No changes will be necessary here.
But I have a wish concerning the font color of the desktop menu when I’ll chose “Display as text”. The current colors are:
– black font: when you don’t hover on a menu item
– grey font: when you hover on a menu item
– red font: the menu item of the page you’re right on when you don’t hover on itThat’s okay. I want to keep it this way.
But I would like to complete it like this:
– dark red font: the menu item of the page you’re right on when you hover on it
In the mobile menu, it’s already like this. That’s why I want to have it for the desktop menu too when I’ll choose “Display as text” .
How can I achieve this?
Best regards,
zizibe1July 17, 2018 at 1:04 pm in reply to: Hide titles and descriptions when you hover on images or thumbnails of galleries #986405Hi Mike,
Thank you very much for your support. Now, the little grey box with the image title in it is hidden.
Thank you also for the code to hide the “number” of images under the lightbox. It works fine.
Best regards,
zizibe1July 16, 2018 at 11:41 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #986152Hi Ismael
Thank you for your reply.
I added the code to Quick CSS.
a) Now the white space between the big image of the gallery and the thumbnails below is too thin.
b) When there are more than two thumbnails below the big image of the gallery, they don’t have the same size.
c) The big image of the gallery still is slightly blurry.
Best regards
zizibe1Hi Vinay
Thank you for your replay.
1. Sorry, but I think I’ve to rephrase my question.
I went to Enfold Child > Main Menu > General > Menu Items for Desktop and chose “Display as icon”.
On desktop, I went to my website and clicked on the burger icon to open the menu (white font on slightly transparent black background).
Now, there’s a little cross in the upper right corner of the browser window (by clicking on this cross, I can close the menu).
When I hover on this little cross, it changes its color from white to red. That’s okay. I want to keep that.
But the problem is that the two lines of the cross change their color slightly time-shifted. It looks like something’s broken.
How can I fix this?
2. Okay. Thank you very much for this information.
Best regards,
zizibe1July 16, 2018 at 5:06 pm in reply to: Hide titles and descriptions when you hover on images or thumbnails of galleries #985990Hi Mike,
Thank you for your reply.
Currently, when I go to my page “Portfolio” and hover on the big image of a gallery, a little grey box with the image title in it is showing up. But I would like to hide it – on every page of my website. (Currently, I added galleries only to my page “Portfolio”.)
When you look at other websites of companies, e. g. Apple, there’re no little grey boxes showing up when you hover on a clickable image. So I don’t want that on my website either.
If there’s no other possibility, I could live without the description below the image in the lightbox. But it’s important to me to hide the little grey box with the image title in it when you hover on the big image of a gallery. How can I achieve this?
Best regards,
zizibe1Hi Vinay,
Thank you for your reply.
1. I replaced the previous code by the new one. Now, the three bars of the burger icon change their hover color simultaneously. But when I open the mobile menu and hover on the little cross in the right corner of the browser window, the two lines of the cross don’t change their color simultaneously. How can I fix this too?
2. Okay. But is it necessary to end every single code with /* End CSS */?
Best regards,
zizibe1Hi Vinay,
Thank you for your reply.
1. I removed the previous code from Quick CSS and added the new code to it. Now, when you hover on the burger icon, first the middle bar changes its color to red and then – slightly time-shifted – the upper and the bottom bar change their color to red. But they should change their color simultaneously. How can I fix this?
2. I already added several codes to Quick CSS. Each of them starts with /* … */ ( three dots: here, I wrote the function of the code). Should I end every code with /* End CSS */?
Best regards,
zizibe1Hi Jordan,
Thank you for the code. I added it to Quick CSS.
Now, the burger icon turns only red when you hover exactly on one of the three bars of the icon. If you hover between the bars, the burger icon stays black. How can I fix this?
Best regards,
zizibe1July 13, 2018 at 2:32 pm in reply to: Fullwidth slider caption fading in instead of sliding in sidewards #985171Hi Jordan,
Thank you for the code.
I added it to Quick CSS and did a hard refresh in Chrome.
Unfortunately, it doesn’t work.
Best regards,
zizibe1July 13, 2018 at 2:19 pm in reply to: Fullwidth slider caption fading in instead of sliding in sidewards #985166Hi Jordan,
Thank you for your reply.
OK, I added the code to Quick CSS. Now the sliding of the caption is disabled.
What should I do next?
Best regards,
zizibe1Hi Jordan,
Thank you for your reply.
Now I chose “Display as icon”. But where can I modify the burger icon hover colour (although the effect is only for desktop)?
Best regards,
zizibe1July 13, 2018 at 12:08 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #985121Hi Ismael,
Thank you for your reply.
I added the code to Quick CSS, but unfortunately, the big image of the gallery still is blurry.
Edit: There is a further problem. The big image should be left-aligned and right-aligned to the thumbnails below. When you remove the gallery padding, the big image is wider then the thumbnail row below. Moreover, the white space between the big image and the thumbnails is smaller then the white space between the thumbnails. When you remove the padding of the thumbnails too, the white space between the image and the thumbnails is missing.
Best regards,
zizibe1- This reply was modified 6 years, 4 months ago by zizibe1. Reason: further problem
Hi Jordan,
Thank you for your reply.
But when your presets are Enfold Child > Main Menu > Menu Items for Desktop > Display as icon, is there a possibility to modify the burger icon hover colour from black to grey (#969696) when you hover on it?
Best regards,
zizibe1July 13, 2018 at 9:43 am in reply to: Fullwidth slider caption fading in instead of sliding in sidewards #985056Hi Jordan,
Thank you for the link.
I removed the code which disabled the caption slide from Quick CSS.
Then I opened FileZilla and connected to my server.
I went to wordpress > wp-content > themes > enfold > css > custom.css (in “enfold child”, I couldn’t find an custom.css file).
I dragged the custom.css file to my desktop and opened it with TextEdit (I also have Adobe Dreamweaver on my MacBook but never used it so far).
Then I inserted the following code below “Desktop Styles”, “/* Add your Desktop Styles here */”:
.avia_transform .av_slideshow_full .active-slide .avia-caption-title, .avia_transform .av_fullscreen .active-slide .avia-caption-title, .avia_transform .av_slideshow_full .active-slide .avia-caption-content, .avia_transform .av_fullscreen .active-slide .avia-caption-content { visibility: visible; -webkit-animation: none !important; -moz-animation: none !important; animation: none !important; }
I dragged the custom.css file back to the server (Action: Overwrite).
Then I did a hard refresh in Chrome (hold shift and click the reload button).
Unfortunately, it doesn’t work. The caption still slides in from the left.
What did I wrong?
Best regards,
zizibe1July 12, 2018 at 11:25 pm in reply to: Hide titles and descriptions when you hover on images or thumbnails of galleries #984915Hi Victoria,
I just noticed that the description below the image in the lightbox still is missing. Probably I overlooked this last time I answered your post.
How can I fix this?
Best regards,
zizibe1July 12, 2018 at 11:05 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #984910Hi Ismael,
Thank you for your reply.
2.) That’s it. I removed the css code you suggested in your first post. Now, the lightbox of the gallery works.
3.) Now, it works fine. I replaced the code of your first post by the code of your last post in Quick CSS. Then I added “custom-gallery” without quotes to the custom css class field of each gallery where I wanted to hide the first thumbnail.
Although I chose “No Scaling (Original Width X Original Height)”, the big image of the gallery is not as sharp as the same image opened in a lightbox or added to a image media element . How can I fix this?
Best regards,
zizibe1Hi Rikard,
Great. Now, the mobile menu is exactly as I wanted it to be. Thank you very much for your support.
I would like to modify my desktop menu (white background) analogue to this:
– black font: when you don’t hover on a menu item
– grey font: when you hover on a menu item
– red font: the menu item of the page you’re right on when you don’t hover on it
– dark red font: the menu item of the page you’re right on when you hover on titI could modify the desktop menu in Enfold Child > Advanced Styling > select Main Menu Links. But I didn’t find a way to modify the last point: “dark red font: the menu item of the page you’re right on when you hover on tit”.
Should I start a new topic?
PS: Is “red” exactly the same color as “#ff0000”?
Best regards,
zizibe1July 11, 2018 at 2:22 pm in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #984230Hi Ismael,
Thank you for your reply.
2.) I opened FileZilla and connected to my server.
I went to wordpress > wp-content > themes > enfold > config-templatebuilder > avia-shortcodes > gallery and moved the gallery.js file to my desktop. (In wordpress > wp-content > themes > enfold child, I couldn’t find this file.)
There, I opened it with TextEdit (I also have Adobe Dreamweaver on my macbook but never used it so far), removed the block code you wrote about in your post, saved the file and moved it back to the gallery folder on the server (Action: Overwrite).
Then I went to the page “Portfolio” of my website, pressed shift and the reload button of Chrome, but unfortunately, the lightbox of the gallery still doesn’t work.
3.) Referring to your link, I turned on the custom css class field.
Now when I go to “Pages” > my page “Portfolio” > my first gallery > “Edit element” and scroll down, I see the “Custom CSS Class” field.
What do I have to add there to except this gallery of the rule which removes the first thumbnail?
Best regards,
zizibe1Hi Rikard,
Thank you for your reply.
I went to Enfold Child > Performance > File Compression > “Disable – no CSS file merging and compression” and “Disable – no Javascript file merging and compression” > “Safe all changes”.
Then I added the following code at the very top of Quick CSS and clicked “Safe all changes”:
#av-burger-menu-ul .current-menu-item { color:red !important; }
Then I went back to Enfold Child > Performance > File Compression > “Enable – merge and compress all theme CSS files” and “Enable – merge and compress all theme javascript files” > “Safe all changes”.
Then I went to the page “Portfolio” of my website, pressed shift and the reload button of Chrome and opened the mobile menu, but unfortunately, the font color of the menu item of the page I’m right on (“Portfolio”) still isn’t red.
Best regards,
zizibe1 -
AuthorPosts