Forum Replies Created
-
AuthorPosts
-
OK, thanks
I’ll give that a goThat’s fantastic, thanks Yigit
This is great!
How can I add an additional line of space between the excerpt text and ‘Read more’?
Also, how can I change ‘Read more’ to ‘read more’ and remove the arrow?
Thanks, Richard
BTW, you guys rock! And I’m recommending Enfold to all my colleagues
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This is the modified section of portfolio.php with your suggested change to add the ‘read more’ link. Something is breaking the portfolio items in the portfolio grid when adding this modification:
if(!empty($title))
{
$markup = avia_markup_helper(array(‘context’ => ‘entry_title’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup));
$output .= ‘<header class=”entry-content-header”>’;
$output .= “<h3 class=’grid-entry-title entry-title’ $markup>“.$title.”</h3>”;
$output .= ‘</header>’;
}
$readmore = ‘<br />‘.__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span></div>’;
$output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.$excerpt.$readmore.”</div>” : ”;
$output .= !empty($title) || !empty($excerpt) ? “</div>” : ”;
$output .= ‘<footer class=”entry-footer”></footer>’;
$output .= “</article>”;
$output .= “</div>”;Please, is there a way to add ‘read more’ links under portfolio grid items without breaking the layout?
Thanks, Richard
Great, thanks
Thanks Josue
This reply has been marked as private.I was thinking it would be good to have them as smaller icons closer to the page content, as they could be missed like that at the bottom of the page.
It would be useful to have a media element in your avia builder to allow ‘share’ icons to be placed anywhere on a post…
Thanks, Richard
This reply has been marked as private.Great, thanks Yigit.
Is there any control over the style of the social sharing icons, or where they appear on the page?
Thanks, Richard
Thanks, this works.
However, I would like these buttons to appear only on posts, not on all pages.I tried changing
if($context == “page” || $context == “single-portfolio”)
to:
if($context == “single-portfolio”)
but the buttons still show on pages.Thanks, Richard
This reply has been marked as private.Thanks Ismael,
What would be the best way for me to make this change, as I’m using a child theme, and would like to do it so I don’t touch the underlying Enfold theme?
Thanks, Richard
Brilliant, thanks Josue
I also figured out how to do the same for a Word document:
a[href$=doc], a[href$=docx]{
padding: 10px 0px 10px 20px;
background: url(http://cdn1.iconfinder.com/data/icons/silk2/page_white_text.png) no-repeat left center;
}Pats himself on the back :-)
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Thanks, that worked
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Great, thanks that worked
Thanks Yigit, I added the css to my child theme’s css, and also uploaded the modified avia.js to my child theme as js/avia.js in my child theme folder.
But it doesn’t seem to be working. My portfolio grid is still 10px short on the right hand side?
Have I uploaded something incorrectly?Great, thanks
Thanks Yigit,
That did not work on the footer but I changed the css as follows and it works.
footer a {
font-size: 14px;
}Thanks Yigit, do I need to modify avia.js, or just add the css from that post in Quick CSS or my child theme css?
-
AuthorPosts