-
AuthorPosts
-
January 25, 2019 at 6:36 am #1058487
Hi guys,
I can see the hyperlinks with a bottom border on desktop but on mobile, it disappears.
I disabled CSS file merging and compression and the bottom-border re-appears. I enabled it again and it’s gone.
Other CSS like the one you helped me create for the slider also breaks.
What should I do?
Thank you!
Havi
January 25, 2019 at 5:24 pm #1058819Hi guys,
I fixed part of the problem.
I moved this CSS:
/*underline links body*/
.entry-content p a {
color: #000 !important;
border-bottom: 3px solid #fff200;
}
.entry-content p a:hover {
color: #80b7b3 !important;
text-decoration: none !important;
border-bottom: none !important;
}from the Quick CSS area to the CSS Stylesheet for the child theme. Re-enabled CSS compression and it works on desktop and mobile.
Should I move all of my Quick CSS to the Child theme’s stylesheet? Would that fix the slider arrows on mobile piece?
This is the Slider arrows CSS:
/*slider arrows css */
#top .avia-smallarrow-slider .avia-slideshow-arrows {
width: 505px;
height: 50px;
display: block;
position: absolute;
top: 420px;
}
#top .avia-smallarrow-slider .avia-slideshow-arrows a {
background: transparent !important;
color: #fff;
width: 50px;
height: 50px;
font-size: 50px;
font-weight: bolder;
}
#top .avia-smallarrow-slider .avia-slideshow-arrows a:before {
background: transparent !important;
line-height: 50px;
}Is it possible that we need a bit more CSS that applies to the responsive rendering of the arrows?
Thank you so much in advance!
Havi
January 25, 2019 at 6:25 pm #1058845Hi Havi,
https://cl.ly/20872dd617a3 Are you referring to the post nav?
Could you please attach some screenshots of the issue?
Best regards,
VictoriaJanuary 25, 2019 at 6:35 pm #1058853Hi Victoria!!
I was able to solve the underline/bottom-border issue (not working when CSS compression enabled) by moving the CSS code to the child theme’s stylesheet (from the Quick CSS). So that’s taken care of.
And the remaining CSS issue I noticed on mobile is on this post (on the slider >> missing right arrow and wrong position):
See how the slider on mobile is showing only the left arrow (and way lower than it should be) and no arrow to the right? But if you look at the same post on desktop, it shows properly.
Am I missing more CSS or will this also get fixed if I move it to the Child theme’s Stylesheet? Is there a limit to how much CSS goes into the Quick CSS section?
Thank you so much!!
Havi
January 30, 2019 at 7:59 am #1060362Hi,
It looks like that because of this css modification.
#top .avia-smallarrow-slider .avia-slideshow-arrows { width: 505px; height: 50px; display: block; position: absolute; top: 420px; }
Try to wrap that css code inside a css media query for desktop or large screens so that it doesn’t affect the mobile view layout.
Best regards,
IsmaelFebruary 14, 2019 at 8:58 pm #1067131Hi Ismael,
I added this code on my staging site and now the arrows have completely disappeared on the mobile page.
@media only screen and (min-width: 768px) {
#top .avia-smallarrow-slider .avia-slideshow-arrows {
width: 505px;
height: 50px;
display: block;
position: absolute;
top: 420px;
}
}Here’s the screenshot on mobile:
This code used to work nicely on desktop and mobile. Something must have changed and it doesn’t work anymore. What should change here?
Thank you!
Havi
February 18, 2019 at 6:11 am #1068130Hi,
Did you toggle the file compression settings after adding that css code? The css files or stylesheets are compressed.
Best regards,
IsmaelFebruary 18, 2019 at 7:46 am #1068164Hi Ismael,
I just went I did toggle it off, cleared the browser’s cache and still, they don’t show. It makes sense, doesn’t it? Now there’s no CSS for the arrows.
Havi
PS: Would you like me to send you the login credentials?
February 19, 2019 at 7:58 am #1068795Hi,
Thanks for the update.
Yes, we would like to access the site. Please post the login details in the private field.
Best regards,
IsmaelFebruary 19, 2019 at 8:42 am #1068818Sure, Ismael! Here you go!
February 20, 2019 at 8:28 am #1069298Hi,
Thanks for the update.
We added this css code in the Quick CSS field.
@media only screen and (max-width: 767px) { #top .avia-smallarrow-slider .avia-slideshow-arrows { position: absolute; width: 100%; top: 20%; left: 0; height: 24px; } }
Don’t forget to purge the cache prior to checking the page.
Best regards,
IsmaelFebruary 25, 2019 at 5:07 am #1071134Thank you, Ismael!! It worked like a charm!
February 26, 2019 at 8:06 pm #1071945Hi havi,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaMarch 1, 2019 at 5:26 pm #1073284Thank you, Victoria!
One more quick question: for some reason, changing the background color of the arrow does not have any effect on the actual rider arrow and it’s very visible if the photo is dark but you cannot see the arrow if it’s dark. Do we need to add a z-index css to the CSS code?
#top .avia-smallarrow-slider .avia-slideshow-arrows a {
background: #CC000000 !important;
color: #fff;
width: 50px;
height: 50px;
font-size: 50px;
font-weight: bolder;
}March 1, 2019 at 5:54 pm #1073301Nevermind, guys. I found the solution:
replace background with:
background-color: rgba(128, 183, 179, 0.6) !important;
and it worked like a charm!!! :)
March 1, 2019 at 6:05 pm #1073305Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Re: Issue with Ticket #1051026 (already closed)’ is closed to new replies.