-
AuthorPosts
-
December 1, 2020 at 7:52 pm #1264309
2 of the customized tooltip layouts in links Yigit helped me to settup in a previous post (/customising-the-title-attribute-of-a-text-link) are going underneath other sections as you can check in that page.
I’ve tried numerous values in the z-index parameter but nothing changed.
Any hint will be appreciated… ;)
December 5, 2020 at 8:22 pm #1265204Hey rvga,
Sorry for the late reply and thanks for the links, please try adding this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top #main .sidebar { z-index: 0 !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 7, 2020 at 12:01 pm #1265450Hi Mike,
Thx for the tip.
I’ve added your code, I’ve cleared the cache as well, but
unfortunately that doesn’t work for the 3rd tooltip of the page (the ‘budget’ one)December 7, 2020 at 1:45 pm #1265473Hi,
Thank you for the feedback, to align the “budget” left and to adjust the z-index of the section below so the “budget” tooltip is on top, please try this css:#top.postid-2634 #main > div > div > main > div > div > div:nth-child(4) > div.avia-builder-el-8 > div:nth-child(7) > table > tbody > tr > td { text-align: left !important; } #top.postid-2634 #main > div > div > main > div > div > div:nth-child(5) { z-index: 0 !important; position: relative; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 7, 2020 at 4:01 pm #1265505We’re getting close Mike but it’s not quite perfect yet
In my quick css, I have added this code:#top #main .sidebar { z-index: 0 !important; }
It works fine only for the first tooltip (Cubiq)
and that one:#top.postid-2634 #main > div > div > main > div > div > div:nth-child(5) { z-index: 0 !important; position: relative; }
which works fine for the budget tooltip.
But unfortuantely, that 2nd code works only the first portfolio item called Club Aladin.
If you navigate to other portfolio items, you will see that the 3rd tooltip (budget) doesn’t work.Is it possible to extend your code to all portfolios?
December 8, 2020 at 1:22 pm #1265745Hi,
Please try this css instead of the last code above:#top.page-id-1066 #main > div > div > main > div > div > div:nth-child(4) > div.avia-builder-el-8 > div:nth-child(7) > table > tbody > tr > td { text-align: left !important; } #top.page-id-1066 #main > div > div > main > div > div > div:nth-child(5) { z-index: 0 !important; position: relative !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 8, 2020 at 3:17 pm #1265764Sorry Mike, it doesn’t work.
– 1st tooltip (cubiq): Ok
– 2nd (taille du site): ok
– 3rd (budget): Not Ok yet.It still goes underneath next section as you can check here.
But… remember as I said in an other thread, I moved to daughter pages. I don’t have portfolio items any more.
My portfolio items became pages and maybe it’s not without effect with the code you gave me. (?)Following yours tips, here’s the code I have now in my quick css:
#top #main .sidebar { z-index: 0 !important; } #top.page-id-1066 #main > div > div > main > div > div > div:nth-child(4) > div.avia-builder-el-8 > div:nth-child(7) > table > tbody > tr > td { text-align: left !important; } #top.page-id-1066 #main > div > div > main > div > div > div:nth-child(5) { z-index: 0 !important; position: relative !important; }
December 8, 2020 at 3:19 pm #1265767Your code is all the way down in the quick css zone… ;)
December 8, 2020 at 3:25 pm #1265770Hey,
I edited your Column element where you have your tooltips and gave it a unique ID “tt-sec” and added following code to bottom of Quick CSS field
#top #tt-sec.flex_column_table_cell { z-index: 2; }
Please review your website :)
Regards,
YigitDecember 8, 2020 at 7:54 pm #1265803That’s perfect Yigit you rock!
It works like a charm,
Thanks to both of you with Mike.
You can close that one ;)December 8, 2020 at 9:22 pm #1265830Hi rvga,
Great :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Custom tooltip underneath other section’ is closed to new replies.