-
AuthorPosts
-
October 10, 2013 at 8:58 am #173494
Hi
I’ve made a new Space at the Homesite where schould be Displayed the Posts of the Blog-Categorie “News”.
This works already well and easy, but i need to costumise it, i dont want to display the “Post-Picture” and the Title Should not have a Link. Also it should be Left aligned. At the Layou builder i can choose a Style (4 Available), can i do an additional Style by myself? If yes, where can i do this?Another Question, is it possible in Avia to Set a Color Section to a 2/3 Element? I only can set them in Full Width.
Best Rergards
Jack
October 11, 2013 at 11:32 am #174102Hello Jack!
1) Yes but it requires advanced coding skills. If you’re a skilled php/wordpress developer you can modify the code in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog.php and /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php. If you’re not a developer please don’t touch these files and hire a freelancer if necessary.
You can hide the post thumbnail with css – insert following code into the quick css field
.home .avia-content-slider-inner .slide-image{ display: none; }
You can’t remove the link with css though. If you want to remove the link from the title open up wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\postslider.php and replace
$output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
with
$output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup>".$title."</h3>" : '';
However note that this mod will affect ALL blog grid elements and post sliders and they will show up without a clickable title afterwards.
2) No, the color section is always a fullwidth element. However you can use a 2/3 column element within the color section to limit the content width.
Best regards,
PeterOctober 11, 2013 at 11:36 am #174103I have only Amateur Coding Skills :-)
But i think i can Remove the Title Links, are they also in:/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog.php
and
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.phpRegards
Jack
October 14, 2013 at 10:23 am #175001Hi!
It depends on the blog layout. If you use the “blog grid” layout you just need to modify /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php (see instructions above).
Best regards,
Peter -
AuthorPosts
- The topic ‘Change the Layout of "Blog Space" in Avia Designer’ is closed to new replies.