Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #397904

    Guys,
    I am using the magazine feature.
    I want to use it twise, like
    1. 7 posts from a category and the top post have t be big and aside of others.
    2. the second one after this displays posts from same cateogry and another category (multiple selection).

    i want to hide grid lines only in the first listing.
    please advice

    thanks

    • This topic was modified 9 years, 10 months ago by tendersqatar.
    #398386

    Hi tendersqatar!

    First off do this, http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/, and then add a class of “test” to your first magazine element.

    Next add this to your custom CSS.

    .test .av-magazine-content-wrap { border-bottom: 0px !important; }
    

    Regards,
    Elliott

    #401135
    This reply has been marked as private.
    #401980

    Hi!

    Edit confg-templatebuilder > avia-shortcodes> magazine.php, look for this code on line 583:

    $output .=			"<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";
    			$output .=			$separator.$author_output;
    			$output .=			"<{$titleTag} class='av-magazine-title entry-title' {$markupTitle}>{$title}</{$titleTag}>";

    Replace it with:

    $output .=			"<{$titleTag} class='av-magazine-title entry-title' {$markupTitle}>{$title}</{$titleTag}>";
    $output .=			$separator.$author_output;
    			$output .=			"<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";

    On the same file, look for this code on line 529:

    $title	 		= "<a href='{$link}' {$titleAttr}>".get_the_title($entry->ID)."</a>";
    

    Replace it with this code to remove the link:

    $title	 		= "<a {$titleAttr}>".get_the_title($entry->ID)."</a>";
    

    Regards,
    Ismael

    #404227
    This reply has been marked as private.
    #404658

    Hi!

    Please add following code to Quick CSS

    .av-magazine .av-magazine-content-wrap .av-magazine-title { font-size: 18px; }

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.