-
AuthorPosts
-
February 27, 2020 at 11:33 am #1188394
Hello!
I’ve looked to many forum entries but unfortenly i haven’t found the right solution til now. I would like do change the “readmore” link to a Button with hover effect. I would like to replace the whole <p> with a button (avia button) and not just style the link as a button. Would you please give me an advice how to create a solution for this problem?
I would be glad if you could help me styling the Blog Layout entries with border around each entry and the categorie should be displayed in the thumbnail picture left at the top as you can see in the Layout on the page in private Content.
Thank you for your answer!
Glad to hear from you soon.
February 28, 2020 at 10:02 pm #1188923Hey topnetat,
Could you please attach a mockup of what you’re trying to achieve?
Do you need to have the hover effect over the excerpt?
Best regards,
VictoriaFebruary 29, 2020 at 11:23 pm #1189113Hi Victoria!
see in private content Thanks!
Regards
March 5, 2020 at 10:38 am #1190364Hi,
Thank you for the update.
This is the same exact style of the read more button used in the estably site.
.read-more-link { -webkit-box-sizing: border-box; box-sizing: border-box; min-width: 220px; padding: 15px 20px; background-color: #c3a069; border: 1px solid #c3a069; border-top-color: rgb(195, 160, 105); border-right-color: rgb(195, 160, 105); border-bottom-color: rgb(195, 160, 105); border-left-color: rgb(195, 160, 105); display: block; min-width: 0; text-align: center; border-radius: 4px; font-family: DINPRO,Arial,sans-serif; font-size: 16px; font-weight: 600; line-height: 1.2; color: #c3a069; -webkit-transition: all .3s cubic-bezier(.4,0,.2,1); transition: all .3s cubic-bezier(.4,0,.2,1); -webkit-box-shadow: 0 20px 40px rgba(49,50,54,.3); box-shadow: 0 20px 40px rgba(49,50,54,.3); color: #6d6b76; background-color: hsla(0,0%,100%,0); border-color: #6d6b76; -webkit-box-shadow: none; box-shadow: none; }
We just replaced the selector with the class name used by the theme for the read more link element. You can add the code in the style.css file or the Quick CSS field.
Best regards,
IsmaelMarch 5, 2020 at 11:04 am #1190376Hi Ismael!
Thank you for Reply. I just insert your code. The text in button is in center an not based right? And the button is to big at all? unfortenly the hover effect doesnt work like the same as in the other blog? Could you please have a look at it?
Thank you for you help!
Regards,March 6, 2020 at 8:14 am #1190774Hi,
Thank you for the update.
This is the hover style of the button.
.read-more-link a:hover { color: #fff; border-color: #c3a069; background-color: #c3a069; -webkit-box-shadow: 0 20px 40px rgba(49,50,54,.3); box-shadow: 0 20px 40px rgba(49,50,54,.3); -webkit-transition: all .15s cubic-bezier(.4,0,.2,1); transition: all .15s cubic-bezier(.4,0,.2,1); }
In the previous css code, please replace the selector:
.read-more-link
..with:
.read-more-link a
Best regards,
IsmaelMarch 6, 2020 at 10:24 am #1190801Thank you for your Help the Support is better than 5/5 stars!
One more question i got – how can i set the Catergory text, in the picture at top? Now at the button of the image. I want it to be part of the image and not above.
Thanks for the reply!
Kind Regards
March 9, 2020 at 10:33 am #1191411Hi,
You’re welcome. Thank you for the kind words.
Now, to move the category above the image, add this snippet in the functions.php file.
function ava_custom_js_footer_code() { ?> <script> (function($) { $('.slide-entry').each(function() { var entry = $(this), image = entry.find('.slide-image'), cat = entry.find('.blog-categories'), meta = entry.find('.slide-meta'), title = entry.find('.slide-entry-title'); cat.appendTo(image) meta.insertAfter(title) }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_js_footer_code');
Then use this css code to adjust the position of the category container.
.html_elegant-blog #top .avia-content-slider .blog-categories.minor-meta { position: absolute; top: 10px; }
Best regards,
IsmaelMarch 9, 2020 at 11:44 am #1191434Thank you Ismael! Works fine.
Are there any options to put the publishing date direct after the Title? At the bottom of the Tittle?
And is it possible to set a border around each blog entry in layout?
Thanks for your reply!
Best reagards
TopnetatMarch 10, 2020 at 2:27 am #1191675Hi,
We modified the snippet above to move the post meta info below the post title. Please replace the previous one with it.
Afterwards, add this css code to remove the margin above the post meta info.
.html_elegant-blog #top .post-entry .post-meta-infos, .html_elegant-blog .avia-content-slider .slide-meta { margin-top: 0; float: none; }
And use this css to create borders around the post items.
.slide-content { border: 1px solid gray !important; padding: 10px; border-top: none !important; margin-top: -10px; }
Best regards,
IsmaelMarch 10, 2020 at 10:27 am #1191757Thank you very much Ismael! It works fine!
How could the line above und at the bottom of the Date be removed? You see in private the link to the blog page.
Thanks for you answer!
March 10, 2020 at 3:02 pm #1191862Hi,
Add this to quick css:
.html_elegant-blog .avia-content-slider .slide-meta{ border-top:none!important; border-bottom:none!important; }
Best regards,
Jordan ShannonMarch 10, 2020 at 3:15 pm #1191872Thank you perfect but i got another question. If you look at the blog page. how to display the shadow at the left side of the blog entries and the right side? It lookes like they are sniped there?
Also could we give all entries in a line the same height?
Best Regards
topnetatMarch 10, 2020 at 4:00 pm #1191889Hi,
I’m not seeing a shadow issue. Can you screenshot?
Best regards,
Jordan ShannonMarch 10, 2020 at 4:16 pm #1191895Link to the scresnhot in private.
Thanks for your help!
March 10, 2020 at 6:10 pm #1191951Is there any possibilite to style the top of the picture from blog overview with shaddow a bit darker?
in private you see a link what i try to archieve – thanks for your suggestion.
Kind Regards
March 10, 2020 at 6:21 pm #1191960Hi,
I cant seem to switch off the “share this” feature that places “print, email, whats app, link etc…. to the bottom of a post?
I have switched off all options under the Blog Layout option “Share links at the bottom of your blog post” but they are still there!
I would like to switch them off as they are throwing up thousands of no-flow errors on google!
Any help?
Many thanks
MarkMarch 10, 2020 at 10:33 pm #1192039Hi markship,
Please start a separate thread, describe your issue there and give us a link to your website.
Best regards,
VictoriaMarch 13, 2020 at 11:59 am #1192860Hello! Any Updates for me?
Thanks!March 13, 2020 at 12:01 pm #1192861Hello!
Could you please share css with me for the following question?
I would like to add media query wich set 2 Blog Post in one Line if the Screen is smaller than 1400px – Would you please help me?Kind Regards
March 13, 2020 at 8:07 pm #1192956Hi,
Add this to quick css:
@media only screen and (max-width: 1400px) and (min-width: 767px) { .PostCard { max-width: 46.2%!important; }}
Best regards,
Jordan ShannonMarch 13, 2020 at 10:10 pm #1193010Hi unfortenly not working? Could you please check again… ?
March 14, 2020 at 1:28 am #1193023Hi,
Did you add the code to the very to of quick css so it runs first? Also, clear the cache a few times over.
Best regards,
Jordan ShannonMarch 14, 2020 at 1:39 am #1193027Hi Jordan Shannon!
I`ve clear cache 20 times and nothing. Would you please have a closer look at it? Would you like to login?
Also could we give all entries in blog overview in a line the same height?Regards
March 17, 2020 at 6:11 pm #1193872Hi together!
Any Updates? I would be glad to hear from you!
Kind Regards Elias
March 20, 2020 at 1:24 pm #1194789Could we give all entries in a line the same height?
March 24, 2020 at 6:05 pm #1196947 -
AuthorPosts
- You must be logged in to reply to this topic.