Tagged: magazine element
-
AuthorPosts
-
April 27, 2018 at 12:56 am #947540
I am using a magazine element on several pages on my site – see page below.
I just saw that the top element is out of alignment – have not made any changes.
Can you tell what’s happening there? I have not seen that before.
thanks
Nancy- This topic was modified 6 years, 8 months ago by Munford.
April 27, 2018 at 2:50 am #947558Hey Munford,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.av-magazine-thumbnail { clear: both; }
Best regards,
YigitApril 27, 2018 at 4:50 pm #948029Thanks I think that worked but it seems I also lost some styling on the magazine element – or maybe with an update – as now it has the /by admin tag on everything and the layout is messed up. How do I get rid of that?
at one point I edited the mag element like this (as per your suggestion):
Edit config-templatebuilder > avia-shortcodes > magazine.php, find this code on line 558: if(empty($this->atts['thumbnails'])) { $image = ""; $extraClass = "av-magazine-no-thumb"; } Below, add this: $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 10) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
and had everything lining up with a sqare photo, title, and excerpt underneath, but now it’s showing the /by admin tag and the photos are not filling the frame, and the titles and excerpts are moved too far down. Can you see what’s causing this suddenly? I have not changed any settings or css.
thanks
Nancy- This reply was modified 6 years, 8 months ago by Munford.
April 30, 2018 at 5:40 pm #949133Hi again
still can’t find out why my magazine element has changed. I am getting an author line (not there before), out of aligment text, wrong size image border, and the sorting categories at the top are not working anymore. Any ideas?? I also have a [member] / [nonmember] shortcode on the mag elements like this:[member][av_magazine link='portfolio_entries,261,317' items='10' offset='0' tabs='aviaTBtabs' thumbnails='aviaTBthumbnails' heading='' heading_link='manually,http://' heading_color='theme-color' heading_custom_color='#ffffff' first_big_pos='top' custom_class='' av_uid='av-3cuuz8'][/member]
[nonmember][av_magazine link='portfolio_entries,261,262' items='10' offset='0' tabs='aviaTBtabs' thumbnails='aviaTBthumbnails' heading='' heading_link='manually,http://' heading_color='theme-color' heading_custom_color='#ffffff' first_big_pos='top' custom_class='' av_uid='av-vqzewk'][/nonmember]
which worked fine but now it looks like both elements are showing on the page. see below in private.
???
thanks
Nancy- This reply was modified 6 years, 7 months ago by Munford.
April 30, 2018 at 8:57 pm #949197Hi,
There is a plugin that is making issues I think.
I can see a admin tag somehow coming in.
Can you disable them please so we can try?Best regards,
BasilisMay 1, 2018 at 10:11 am #949463HI Basilis
I have not changed any plugins – but as a test I deactivated them all and did not see any changes to the mag element. I have added login below if you want to take a look at the back-end/plugins.
thanks
Nancy- This reply was modified 6 years, 7 months ago by Munford.
May 2, 2018 at 2:25 am #949765Hi Munford
I’m having similar issues with changes to the Magazine element that have just appeared in version 4.3 of Enfold. Specifically, I’ve noticed that the magazine element styles that were all located in shortcode.css are no longer there, so the element looks kind of un-styled now. All the css classes related to the Magazine element began with .av-magazine and there were quite a few in the shortcode.css file.To double-check I downloaded version 4.3 from Envato and looked at the shortcode.css file that’s shipping with that, and I can confirm that the magazine styles have disappeared from that file. I always update using Enfold’s built-in Theme Update link in the WP Dashboard though.
I raised a query yesterday here before I saw this one and am waiting to hear back :). Hopefully the styles will reappear in one of the enfold stylesheets.
Ta
DianaMay 3, 2018 at 6:28 am #950489Hi Nancy,
Edit config-templatebuilder > avia-shortcodes > magazine.php, find this code on line 558:
This file has moved in Enfold 4.3 and this one is supposed to be deleted.
So you have an old version of the file on your child theme, I suggest you delete it and see what it looks like without it.Best regards,
VictoriaMay 3, 2018 at 9:54 am #950600HI Victoria
I fixed the code in a new magazine.php file and now it’s working fine. Also, by adding this code:time.av-magazine-time.updated{ display:none!important; }
I got rid of the /byadmin and that also fixed the image frame issue and the member shortcode problem, though I’m not sure why. The only issue I see now is in the sorting categories where there is no spacing around the separators. (ie it looks like: All/ADD-ONS/ROUNDTRIPS and is hard to read.) Can you help me fix that?
thanks
Nancy- This reply was modified 6 years, 7 months ago by Munford.
May 4, 2018 at 7:51 am #951412Hi,
Thank you for the update. Use this code to create space between the sort items.
#top.av-sort-by-term a { margin: 0 10px 0 10px; }
Best regards,
IsmaelMay 4, 2018 at 12:16 pm #951580Hi Ismael,
Thanks but that did not change the spacing for me
see below
??May 6, 2018 at 7:43 pm #952371Hi,
Can you please clear your cache and check again for it please?
Thank you
Best regards,
BasilisMay 6, 2018 at 10:55 pm #952405cache was cleared
May 9, 2018 at 11:43 am #953831Hi Nancy,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.main_color .av-sort-by-term a { padding: 0px 5px; }
If you need further assistance please let us know.
Best regards,
VictoriaMay 9, 2018 at 12:54 pm #953880that worked, thanks!
was all this the result of the mag element styling files moved with the new update?
It’s pretty disconcerting that an element that I rely on changes on the update without any reason/warning.
How to avoid this in the future – wait to update until all the glitches are worked out?
This update caused multiple issues on my sites.thanks
Nancy- This reply was modified 6 years, 7 months ago by Munford.
May 10, 2018 at 6:55 am #954381Hi Nancy,
Could be the order of the css loading. We are always here to help you with that.
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.