-
AuthorPosts
-
November 5, 2016 at 2:17 am #708500
hi. i have added this code to the style.css:
.av-masonry-entry.av-masonry-item-loaded.category-live .av-inner-masonry { border: 3px solid red; background-image: url(https://www.kostenlose-online-kongresse.com/wp-content/uploads/2016/11/live.png)!important; background-size: 100px 31px; background-repeat: no-repeat; background-position: 100% 0%; }
and this code to the functions.php:
add_filter( 'avf_masonry_excerpt_length', 'masonry_excerpt_length'); function masonry_excerpt_length() { $excerpt = 50; return $excerpt; }
Can you help me to add the PNG to all post from category “live”. thank you :) http://imgur.com/a/mVr0B
November 5, 2016 at 8:46 am #708605Hey alexanderjohannes,
You do not need js or any other function to add the live image on specifiv catogery.
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.category-live .av-masonry-image-container:before { position:absolute; content: " "; width: 100px; height: 41px; background: url(https://www.kostenlose-online-kongresse.com/wp-content/uploads/2016/11/live.png) no-repeat; z-index:999999!important; background-position: 0px 10px }
Best regards,
VinayNovember 5, 2016 at 2:05 pm #708687wow. thanks vinay. can you help me to fix the red borders. tey look strange. http://imgur.com/a/avMTj
November 5, 2016 at 2:06 pm #708689I try to fix the scrrendesign of the landingpage. i have some errors with the grid look. can you please take a look here :) https://kriesi.at/support/topic/adapt-landing-page/
All posts in the grid should have the same size (A) http://imgur.com/a/MHOTY
- This reply was modified 8 years ago by alexanderjohannes.
November 7, 2016 at 2:20 pm #709197Hi!
Please refer to my post once again – https://kriesi.at/support/topic/red-border-for-grid-post/#post-708259 and make sure to replace the code i posted earlier. If you apply the changes correctly, red borders should be displayed as the screenshot i attached in private content field.
Also, as i mentioned many times before, please do not redirect from one thread to another Alexander :)
Regards,
YigitNovember 7, 2016 at 2:22 pm #709202OK, i will try this. sorry i have so many licenses of enfold (best theme ever!) and websites. somtimes i get confused :)
THanks for your help :)
November 7, 2016 at 2:29 pm #709209Hi!
I totally understand you Alexander. However, it gets even more confusing for us. As you already know, we love to help. However if you could keep threads more organized, i believe it will be better for you and us :)
Best solution would be asking a question in one thread only, otherwise different moderators might provide different solutions and there would be a conflict, an endless loop. Also, please ask one question at a time. I understand your case might be time sensitive, however multiple questions get confusing as well and replying to one question at a time would get you quicker responses.
Thanks for your understanding :)
Regards,
YigitNovember 7, 2016 at 2:31 pm #709213:) i will correct myself :)
November 7, 2016 at 2:42 pm #709226 -
AuthorPosts
- You must be logged in to reply to this topic.