Forum Replies Created
-
AuthorPosts
-
Ah, I see…
So at least, I know now, that there is nothing wrong with my system and I’ll keep the workaround for now. This thread can be closed then.Thanks a lot for taking the time to find out! :)
Best regards,
AndreasThanks for the code. I don’t really like workarounds like this, but it’s better than nothing.
“the sidebar navigation was generated by Enfold and it cannot be changed via Appearance > Menus”
I don’t really get, where it is generated and how it can be updated. The sidebar navigation was clearly generated after my settings in “Appearance > Menus”. It also has the same order as selected in “Appearance > Menus”. But now, when I add new menu items or change the order, the sidebar menu ignores these changes. I don’t really get, why… And as far as I am aware, it worked before I made two updates for Enfold in March and April. Maybe something was changed there?
As an example, I added “Annual reports” to the menu in http://neu.cismst.de/en/cis-ev/association/
It appears in the main menu, but not in the sidebar menu.Hi Nikko,
I just realized, that all changes to my menu don’t have any impact on my sub menu (the main menu is working!). Even when I change link names or add a custom link or change the link order, the sub menu stays the same. So maybe this is the problem. I have no idea, where the sub menu comes from and why changes are ignored. Is there a cache for the menu or something like this?
I’ll give you access to my existing website, since it’s not live yet… Maybe you’ll find a solution.
Thanks a lot for your effort!Hi,
sorry for my late response, but we had a holiday on Thursday and Friday in Germany.
To reproduce it, simply add a target to a menu point as described here:
https://kriesi.at/support/topic/adding-_blank-to-main-menu-custom-link/This adds the target to the main menu, just as wanted.
The menu on the right side is part of the Enfold theme. It’s not a third party widget.
You can find it in the Enfold “Sidebar settings”. It is called “Page sidebar navigation”. There’s a simple checkbox to add it or not.
See screenshot: https://i.ibb.co/TRV7BVQ/sidebar.jpgThe problem is: this menu ignores the target settings from above, while the main menu doesn’t…
Main menu:
<li id="menu-item-954" class="menu-item menu-item-type-post_type menu-item-object-page"><a target="_blank" href="http://neu.cismst.de/en/cis-ev/charter/" itemprop="url"><span class="avia-bullet"></span><span class="avia-menu-text">Charter (PDF)</span></a></li>
Sidebar menu:
<li class="page_item page-item-920"><a href="http://neu.cismst.de/en/cis-ev/charter/">Charter (PDF)</a></li>
The website is not public yet, so i put the data in the private content field.
Hi.
no, this menu is included in the Enfold theme. You can find it in the settings for the sidebar. In the German version, it is called “Seitenleiste mit Seiten-Navigation”, so it is probably called “Sidebar with page navigation” in the English version.
This menu ignores the link target, which is set in the menu settings, so it is probably a problem of the Enfold theme… The main menu works great on the other hand.February 26, 2021 at 10:34 am in reply to: Overlay auf Bildern entfernen – Symbol mit zwei Pfeilen #1283806Ich habe gerade gesehen, dass das Doppelpfeil-Logo (zum Beispiel bei Lightboxen) auch noch da ist. Nur das Einzelpfeil-Logo bei Links auf einem Bild war weg. Wenn man alle weg haben möchte, braucht man:
.image-overlay { background: none; opacity: none; filter:none; } .avia_transform a .image-overlay { -webkit-transition: none; -moz-transition: none; transition: none; } .avia_transform a:hover .image-overlay { opacity: none; } .image-overlay .image-overlay-inside:before, .image-overlay.overlay-type-extern .image-overlay-inside:before, .image-overlay.overlay-type-video .image-overlay-inside:before { display: none; }
Damit ist dann auch das Fading weg und meine Frage erledigt…
Der Thread kann demnach geschlossen werden ;)- This reply was modified 3 years, 9 months ago by GrandmasterA.
Oh, damn…. sometimes you don’t see the wood for the trees.
I obviously added this, when I styled the archives and because it was later in the css, my changes above did not have any effect…
Thank you very much! :)Nobody?
I’d say it’s just an “easy” CSS problem, but I can’t figure out, where the fixed height comes from…February 5, 2021 at 1:15 pm in reply to: Hidden texts of social bookmark boxes below the boxes instead on top of them #1277978Thank you very much!
I changed it and it works great for now….I have a (very short) list of things, I changed… so I can recreate changes after an update.
But if the devs know a better solution, I’m interested of course.Until then, yours solution works great. Thank you very much, again :)
- This reply was modified 3 years, 9 months ago by GrandmasterA.
February 5, 2021 at 12:33 pm in reply to: Hidden texts of social bookmark boxes below the boxes instead on top of them #1277963isn’t there a bottom position as option
No, in the options, you can only select the social media services to be shown there. Nothing about the look or styles.
February 5, 2021 at 12:26 pm in reply to: Hidden texts of social bookmark boxes below the boxes instead on top of them #1277961Works great on first sight… Thank you very much, again!
is an insufficient solution of the whole, because the original container initially appears for fractions of a moment at the top position.
That’s true. But it’s still better than nothing for me. But maybe there is even a solution for that.
February 5, 2021 at 11:57 am in reply to: Hidden texts of social bookmark boxes below the boxes instead on top of them #1277951https://kriesi.at/themes/enfold-2017/2015/01/24/a-small-gallery/
The boxes are below “Share this entry”
do you refer to those tooltips on hovering the share button?
Yes :)
February 5, 2021 at 11:34 am in reply to: Add custom widget after main content, but before sidebar #1277944Hi Rikard, yes, everything works as it should now.
Thanks again, Günter :)February 5, 2021 at 7:58 am in reply to: Add custom widget after main content, but before sidebar #1277884So, back at work…
I added the page_id of the footer-page to the if-clause, so it does not appear in the footer anymore.
This works fine for me.if((is_singular('post') || is_singular('portfolio')) && get_the_ID() != '106' && get_the_ID() != '107')
106 = page_id of German footer, 107 = page_id of English footer
yes, it’s very static, but the widget-name is also static, so it doesn’t really matter.PS: Ja, wir hätten wohl die ganze Zeit Deutsch schreiben können, aber ich hatte auf Englisch geschrieben, weil viele Mods hier Englisch sprechen. Aber nochmal vielen lieben Dank an Günni, Du hast mir mit Deinen Antworten wirklich SEHR geholfen :)
February 4, 2021 at 5:28 pm in reply to: Add custom widget after main content, but before sidebar #1277754I’m already at home, so I’ll try it tomorrow.
I also have another idea using the page_id to exclude the footer page, which also should work.
I’ll post about it tomorrow.
Again, thank you very much for now :)February 4, 2021 at 3:17 pm in reply to: Add custom widget after main content, but before sidebar #1277730That’s really great, thanks a lot for your help!
BONUS-QUESTION:
I’m using a page as footer. As this page also contains a content area… is there any way to hide my widget from the footer page?
At the moment it is added after the content -.as I wanted…
… but also after the content of the footer page…February 4, 2021 at 2:23 pm in reply to: Add custom widget after main content, but before sidebar #1277711YES! Thanks a lot!
This indeed works great! :)Thank you VERY much :)
February 4, 2021 at 1:41 pm in reply to: Add custom widget after main content, but before sidebar #1277701Hi,
thanks a lot.
Where do I have to enter this code?When I enter it at the /themes/enfold/functions.php it has no effect…
When I enter it at wp-includes/widgets.php, my widget appears in the middle of my content -between an image and some text of the same textarea, which is kinda strange… it’s also added to my source code at this strange position…
February 4, 2021 at 1:02 pm in reply to: Add custom widget after main content, but before sidebar #1277676Yes, I know.
I need a hook for the position after the content, before the sidebar.
As I said, it already works with other hooks like ava_after_main_container or ava_before_footer, so yes, my widget “my-sidebar-name” exists.For me, the hook ava_after_content sounded like what I was looking for, but maybe I was wrong.
I’m posting with the ALB, which is preferred (we even lost the share-box and the comments because of that, but the ALB is still preferred).
The ava_after_content indeed works with the classic editor, but since the content is also inserted after every single post on archive pages, I assume it’s not the correct hook anyway…Maybe I have no other choice than using the insert-widget on every single post page.
But maybe someone from kriesi has a better solution…?But thank you for your input, Günni :)
February 4, 2021 at 12:37 pm in reply to: Add custom widget after main content, but before sidebar #1277669Hi.
it’s not really a matter of the if-clause. It’s obviously a matter of “ava_after_content”.
As I said, it works with different hooks like ava_after_main_container or ava_before_footer, but ava_after_content has no effect at all…Or maybe I misunderstand the name of this hook…
I just realized, my widget is added at blog archive pages to ALL posts…
That’s also not what I need…So the basic question is: How can I add a widget after my blog content, before the sidebar.
PS: Unfortunately our code has no effect at all…
-
AuthorPosts