Forum Replies Created
-
AuthorPosts
-
March 1, 2021 at 2:34 pm in reply to: Portfolio Grid icon overlay always visible rather than just on hover #1284430
sorry, if I have confused things. Currently the overlay icon does not appear when the pages loads, which is what I want. So that:
page loads: the overlay icon is visible and the portfolio thumbnail image fully opaque (currently no icon visible)
on hover: the overlay icon is visible and the portoflio image has a white overlay of 50% transparency ( this works)
on mouse off: the overlay icon is visible and the portoflio image returns to fully opaque ( currently icon stays, but so does the white overlay)Hopefully that helps explains what the client is after. I could flatten the icon into the thumbnail image using photoshop, but was really hoping the current icon could simply stay visible the whole time instead?
Thanks Ismael, That seems to have fixed it.
Much appreciated,
February 26, 2021 at 5:42 pm in reply to: Portfolio Grid icon overlay always visible rather than just on hover #1283902link sent privately, with log on details.
With your code, the overlay stays visible after a rollover, just not on the page load.
thanks again, but unfortunately still jumping about!
below is some text from another post on the forum, which i have implemented, and i think it may be working, however the code only works on one specific toogle-id. How do i edit the code to apply to all toggle-ids on the page?
The only solution I could think of is to remove the ID for the toggle, which matches the “fake ID” in the address bar. Since you are not linking to it directly it should not be an issue.
So as a test I added this to your functions.phpfunction custom_script(){ ?> <script> jQuery(window).load(function(){ jQuery('.single_toggle p[data-fake-id="#toggle-id-5"] + .toggle_wrap').removeAttr('id'); }); </script> <?php } add_action('wp_footer', 'custom_script');
this removes the ID from the one button…
February 26, 2021 at 12:00 am in reply to: Portfolio Grid icon overlay always visible rather than just on hover #1283763Hi Ismael,
Unfortunately this code didn’t work for me. The overlay icon is still hidden until the mouse hovers over the portfolio thumbnail.
It seems the class .image-overlay controls both the icon and the white overlay on the thumbnail image so this CSS effects the opacity on both. Is there a way to keep only the icon at 1.0 opacity while the white background fades? I believe the class for the icon is .image-overlay.overlay-type-extern .image-overlay-inside:before as that is how I added my own custom icon (I have tried adding the suggested CSS to this class which also didn’t seem to work either)
Any other ideas?
Hey Ismael,
I have removed that line, disabled the compression, emptied the cache and deactivated my cache plugin, but the accordions are still jumping about in chrome.
Any other ideas?
the same tabs.js file does have a comment on line 124 saying:
//check if tab title is in viewport. if not scroll up
is there any lines within this section I should delete as well? I have noticed that sometimes the browser does jump up much higher than other times, so it is slightly more random than always acting like an anchor tag.
understood, Thanks Nikko.
I just wanted to check in case I was missing something before going down the duplication route…
Hi Rikard,
I have tested opening the accordion elements on various devices in chrome, and they all seem to cause the same issue. So to replicate the problem I recommend refreshing the page then keep clicking to open and close different accordions and i’m sure some ( about 75% jump on when I do this) will jump up to the top of the page.
Below are some other recent posts on your forum which sound like the same issue, and I feel that mike’s solution to remove the ID for the toggle should work, but I believe his php code is specific to that site. I am unsure how to edit the toggle-id-# within his code to work on all accordions within my site?
I can always save a screen recording if you feel it necessary?
Thank you
Sorry, not sure what happen. I have changed the password and checked that i can login with it too, so please use this new one instead:
Thanks,
Ismael,
I had already selected the classic editor in the theme options. I also previously used the classic editor plugin, but thought the whole point of updating enfold and having this editor selection built into the theme was that I could remove the additional plugin.
So as it stands, regardless of which editor is selected in the enfold theme options, the original ‘line 529’ error appears because the url directed to is:
http://sitename/wp-admin/post.php?post=1234&action=editHowever, if the classic editor is selected in the theme options and I view the page first then use the ‘edit page’ link within the wordpress admin header bar, then the advanced layout editor does load, as the url directed to is:
http://sitename/wp-admin/post.php?post=1234&action=edit&classic-editor=1However, my Client is not happy with this, so I need to understand what the ‘line 529’ error is? To be honest, I could just revert to an older version of enfold and re activate the classic editor plugin, but that seems a bit backwards to me.
If I use the classic editor plugin as well as selecting the classic editor in the theme options, then the correct url is used when clicking a page or post directly from the dashboard, but should the block editor ever be needed in the future, the original error would prevent it from ever being an option.
Any other ideas why line 529 could be causing me this conflict? Or do I revert to the older version of enfold?
Hi Gunter,
I am using the latest 5.2.2 wordpress and have disabled all plugins. As for the gutenberg plugin, i did attempt to disable this by adding some code to the functions.php file – but it didn’t solve the problem, so have since removed the code. If you have a better way to disable he gutenberg plugin, then please let me know and I’ll give it a go…
Hi Ismael,
I replaced the original class-avia-gutenberg.php file but the error still occurs. The original thread you linked me to did mentioned the error warning was line 329, however my error says line 529 – so it may be a different error?
Any other ideas?
Thanks Rikard,
I have sent the login details privately, and to re-create the error simply click on any page or post type within the wordpress back end.
January 4, 2019 at 3:34 pm in reply to: Hide current blog post from a random blog post slider grid element #1050009Now fixed, the code i had copied from an earlier thread didn’t correctly reference the slide query hook. Maybe it was from an older version of enfold, but I have changed it to:
avia_post_slide_query
and it seems to work as expected.
Thanks and please close this question.
January 4, 2019 at 1:06 pm in reply to: Hide current blog post from a random blog post slider grid element #1049971Hi Ismael,
I haven’t solved this yet, but the blog post element shows randomly selected posts – therefore you will need to press f5 a few times until the issue occurs.
Thanks,
January 4, 2019 at 1:03 pm in reply to: 2 columns on mobile jumping on one side not the other? #1049970please close it thanks.
January 3, 2019 at 8:41 pm in reply to: 2 columns on mobile jumping on one side not the other? #1049709now solved. It was something to do with the float:left, when the 3 columns went to 2 columns on a mobile, so some custom code was needed to clear:both for every div tag involved in each column.
Thanks,
January 3, 2019 at 12:10 pm in reply to: 2 columns on mobile jumping on one side not the other? #1049582Hey Ismael,
Thanks for your suggestion, I did try this but it did not seem to affect anything. Plus, if it did work, then the result would likely not be what I am after, as the left and right columns would not be correctly aligned. Please let me know if you have any other thoughts?December 21, 2018 at 12:09 pm in reply to: 2 columns on mobile jumping on one side not the other? #1048140Hi ismael,
Assuming that pic you’ve sent is the iphone 5 screen resolution or smaller, you just need to scroll down the page to see the issue. I’ve sent a link privately that shows a screen grab of where the jump occurs.
Thanks for your help,
December 17, 2018 at 2:50 pm in reply to: 2 columns on mobile jumping on one side not the other? #1046315Hi Basilis, here is the code that was added to my css to make the 3 columns stay as two on mobile devices:
.page-id-21 .av_one_third { display:inline-block !important; } @media only screen and (max-width: 767px) { .responsive #top #teamgrid .container .av-content-small, .responsive #top #wrap_all #teamgrid .flex_column, .responsive #top #wrap_all #teamgrid .av-flex-cells .no_margin { width: 50%; float: left; clear: none; }}
Thanks,
December 17, 2018 at 2:46 pm in reply to: custom footer page causing an odd icon jump at certain screen widths. #1046313Never really understood why the issue did occur on tablet size screens, but the code works – so please close the topic.
December 17, 2018 at 1:39 am in reply to: custom footer page causing an odd icon jump at certain screen widths. #1046105Thanks Mike, worked a treat.
Hi Mike,
Thank you so much for looking into this, however because I had a freelance developer working on something else for this site – i asked him to have a quick look at the issue and he discovered the problem. He said something about the av-helper-masonry.php wasn’t preparing the loop for the author from the entries – so he added the following code around line 505:
$this->loop[$key]['author_display_name'] = get_the_author_meta('display_name', $entry->post_author);
He also told me that getting the authors name to link to the team page was more problematic, as the whole entry is already a href, and you can’t place a link within a link – I have therefore admitted defeat on achieving that function.
Thanks again.
Hi Mike,
I have sent the direct url privately.
As for displaying the author, i don’t think that is the problem. I have added Yigit’s code from the top of this thread to my av-helper-masonry.php file, however
“.the_author().” is returning the author of the current page instead of the actual author of the posts.I basically want the same as this thread, but for the masonry grid instead of the postslider?
November 27, 2018 at 7:42 pm in reply to: masonry grid image overlay when text and excerpt are below the image #1038161kind of.
I have the different layouts working as needed, but there is an option in your masonry grid settings which either overlays the title in the center of the image or you can select to have the title below the image. Is there a way to assign this option to a specific post type. eg: all posts use the ‘title and excerpt below the image’ except the custom post type named ‘pdf’ – which uses the ‘overlay title in the center of the image’ option?
The problem is, without using the ‘overlay title in center of image’ option, there is no overlay created ( ‘.av-caption-style-overlay’ ) for me to assign the required code to.
November 27, 2018 at 3:07 pm in reply to: define custom link in custom post type not working #1038026Thanks for looking into it Nikko, I guess I will just keep all the pdf links in the portfolio item post type for now.
November 26, 2018 at 2:02 pm in reply to: masonry grid image overlay when text and excerpt are below the image #1037649Looks like it is still not working, so pasted the google drive and dropbox links in the private content field, hopefully one of those will work?
November 26, 2018 at 1:57 pm in reply to: masonry grid image overlay when text and excerpt are below the image #1037644It was uploaded to google drive, so not sure why the link didn’t work. But here’s a go with dropbox:
November 23, 2018 at 1:27 pm in reply to: define custom link in custom post type not working #1036950Nikko,
I’ve added the login details and url to the masonry grid page.Please note, the masonry grid loads posts in a random order, so you may have to scroll down to find the problem post. I have currently added two portrait images, they are the same content, with the same defined custom link. The one that is a portfolio post type links directly to the correct url, however the one that is a pdf post type does not.
I am aware that the easy solution would be remove the custom post type and add all the pdf’s to the portfolio post type, but before i admit defeat – I would really appreciate it if you could explain what i have missed?
Many Thanks,
added login details below, along with a link to the av-helper-masonry.php file in case that is any help.
Thanks,
-
AuthorPosts