Forum Replies Created
-
AuthorPosts
-
Hi Mike
We added a color section, there you can see the problem.
As you see on the screenshots in the private content section, we deactivated it for all screens. But it is shown on all screens.Then on desktops it looks fine, on mobile it looks very ugly ;-)
It looks like the settings do not have any effect…
Best regards
MikeHi Yigit
Still waiting for the fix of the plugin.
I will contact you, if this does not help ;-)
Thanks vey much.
Best regards
MikeHi Yigit
We looked into the plugins and if we deactivate this plugin, it works:
Enhanced Media Library (https://wpuxsolutions.com/plugins/enhanced-media-library)
It seems, that there is a conflict with Enfold:
https://wordpress.org/support/topic/enfold-theme-conflict/
But we don’t know, if the fix will also fix ou problem.
Let’s wait for the fix.
Thanks very much.
Best regards
MikeHi Yigit
Ok, I will do that.
I think, you can close this issue, when Enfold fixed this problem ;-)
Best regards
MikeHey Yigit
So, the first file (enfold/framework/php/class-megamenu.php) I already edited.
For what the file enfold/functions-enfold.php should be edited?
Should I do this also?
Cheers
MikeHi Yigit
Thanks for your response.
It works fine ;-)
You can close this issue.
Best regards
MikeHi Victoria
Ah ok. I thought, this was an Enfold file (events_upcoming.php), that’s why I thought, you could enhance it in a later release ;-)
But it’s no problem. It works with this modification, so we are still happy ;-)
You can close this issue.
Best regards
MikeHi Victoria
Okey.
So, it would be nice, if Enfold could implement the possibility to show the additional info (is an extensions of The Events Calendar PRO) there ;-)
Until then we would do it like this ;-)
Best regards
MikeHey Victoria
We add this code in the function shortcode_handler, line 276. Here the whole foreach in there:foreach( $entries as $index => $entry ) { $class = 'av-upcoming-event-entry'; $image = get_the_post_thumbnail( $entry->ID, 'square', array( 'class' => 'av-upcoming-event-image' ) ); $class .= ! empty( $image ) ? ' av-upcoming-event-with-image' : ' av-upcoming-event-without-image'; $title = get_the_title( $entry->ID ); $link = get_permalink( $entry->ID ); $post->ID = $entry->ID; //temp set of the post id so that tribe fetches the correct price symbol $price = tribe_get_cost( $entry->ID, true ); $venue = tribe_get_venue( $entry->ID ); /* ADDED FOR INFOS - START */ $additional_fields = tribe_get_custom_fields(); if ($additional_fields['Infos']) { $infos = $additional_fields['Infos']; } else { $infos = " "; } /* ADDED FOR INFOS - END */ $post->ID = $default_id; $event = ''; $event .= "<a href='{$link}' class='{$class}'>"; if( $image ) { $event .= $image; } $event .= "<span class='av-upcoming-event-data'>"; $event .= "<h4 class='av-upcoming-event-title'>{$title}</h4>"; $event .= "<span class='av-upcoming-event-meta'>"; /* ADDED FOR INFOS - START */ if ($infos) $event .= "<span class='av-upcoming-event-infos'><strong>{$infos}</strong></span>"; /* ADDE FOR INFOS - END */ $event .= "<span class='av-upcoming-event-schedule'>" . tribe_events_event_schedule_details($entry) . "</span>"; if( $price ) { $event .= "<span class='av-upcoming-event-cost'>{$price}</span>"; } if( $price && $venue ) { $event .= ' - '; } if( $venue ) { $event .= "<span class='av-upcoming-event-venue'>{$venue}</span>"; } $event .= apply_filters( 'avf_upcoming_event_extra_data', '', $entry ); $event .= '</span>'; $event .= '</span>'; $event .= '</a>'; /** * Allows to change the output * * @since 4.5.6.1 * @param string $event * @param array $entries WP_Post * @param int $index * @return string */ $output .= apply_filters( 'avf_single_event_upcoming_html', $event, $entries, $index ); }
The added code is between the two “ADDED FOR INFOS – START” and “ADDED FOR INFOS – END”
Best regards
MikeHi Victoria
Very good!
So, you can close this issue.
Thanks very much.
Best regards
MikeHi Victoria
After some researchs, I think, we found the solution.
If we use this code, it seems to work:.single-post .avia-post-nav { display: none!important; }
Then, the post navigation only seems to come on portfolio entries, but not on normal posts.
I hope, this code does not crash other things? What do you think?
Best regards
MikeHi Victoria
See the details in the private content section.
We like to have only on the portfolio entries the post naigation, but not on the normal posts. Is this possible?
Thanks very much.
Best regards
MikeHi Yigit
Thanks very much. Who knows, perhaps it will be integrated sometime ;-)
You can close this issue.
Thanks very much.
Best regards
MikeHI again
It was a code error, a comment was not closed so the code was in comment.
You can close this issue.
Best regards
MikeHi Nikko
Thanks very much. It works.
You can close this issue.
Best regards
MikeHi Mike
It works. Thanks very much.
You can close this issue.
Best regards
MikeHi Mike
No problem. It works thanks.
Is it also possible to have the month and the year field with the same size? I think now it looks a little bit strange,that the year field is smaller than the month field. See screenshot in the private content section.
And is it possible to change the words in the calendar, i.e. “Vorangegangen”?
Thanks very much.
Best regards
MikeHi
Ok, then we let it be ;-)
You can close this issue. Thanks very much
Best regards
MikeHi
Cool. It works, thank you very much!
Yes, would be cool, if you could help me with the css to hide the footer on mobile ;-)
But only the footer, not the base at the bottom of the website.
Best regards
Mike- This reply was modified 4 years, 6 months ago by YourChoice Informatik GmbH.
Hi
In the quick css section under Enfold Child – General Styling.
Best regards
MikeHi Rikard
Ok, thanks very much. Will look into it.
You can close this issue.
Best regards
MikeHi
The problem seems to bee the following.
When I do the change directly in the console, like you did it, it works.
But when I do in the custom css under Enfold settings, it does not work.
Any idea why this is?
Best regards
MikeHi
We are looking for horizontal gradient, like the small streak at at the top of the page below the image.
The colors are:
color1: #ec9f0f
color2: #fdfbee
Another question. Is it possible then to hide the footer on mobile devices? Can this be set in the settings? Or does this need also css?
Best regards
MikeHi
So, now the original footer is reactivated. Can you help us with the gradient css?
Thanks very much.
Best regards
MikeHi
So, I have to add the footer, then you can give me a CSS for the gradient?
Best regards
MikeHi
And what do you think. Is it better to do this on every page, or is it better to do it on a footer?
If footer is better, do you have a CSS for that?
Best regards
MikeHi
No no, this is only a emergency solution, without a footer but the content directly in the pages ;-)
Or is gradient also possible in the footer itself?
Best regards
MikeHi Jordan
Cool! It works.
Thanks very much.
You can close this issue.
Best regards
MikeHi
Can you have a look at the website? Does it work at you?
I put the code now to the very top of quick css. I also cleared the cache…
Best regards
MikeHi Shannon
See the login data in the private content section.
We like to have the orange footer less high and perhaps with a color gradient. See screenshot in the private content section.
Thanks very much.
Best regards
Mike -
AuthorPosts