Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #839320

    1. how can i make the blog titles smaller on the blog page?

    2. on the BLOG page only – NOT SITEWIDE – BLOG PAGE ONLY (mine is called Episodes) … i want to make the blog title (post title) links (the ones that are huge right now) OPEN IN A LIGHTBOX instead of another new page. how can i accomplish this?

    thanks!

    chris

    #839948

    any help please???

    #840217

    Hi!

    Thank you for using Enfold.

    1.) Please use the following css code to decrease the font size of the title.

    .html_modern-blog #top .post-entry .post-title, .html_modern-blog .avia-content-slider .slide-entry-title {
        font-size: 1em;
        text-align: left;
        letter-spacing: 1px;
    }

    2.) I’m sorry but this is not possible without doing major modification on the theme. You can try to utilize the theme’s lightbox but I doubt that you’ll like the result because it’s going to open the whole page inside the lightbox container. Add this code in the functions.php file.

    	function avia_default_title_filter($current_post)
    	{
    		if(!empty($current_post['title']))
    		{
    			$heading = is_singular() ? "h1" : "h2";
    
    			$output  = "";
    			//$output .= "<{$heading} class='post-title entry-title ". avia_offset_class('meta', false). "'>";
    			$output .= "<{$heading} class='post-title entry-title lightbox' ".avia_markup_helper(array('context' => 'entry_title','echo'=>false)).">";
    			$output .= "	<a href='".get_permalink()."?iframe=true' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
    			$output .= "			<span class='post-format-icon minor-meta'></span>";
    			$output .= "	</a>";
    			$output .= "</{$heading}>";
    
    			$current_post['title'] = $output;
    		}
    
    		return $current_post;
    	}

    Best regards,
    Ismael

    #840411

    ISMAEL … you are AWESOME! this did what i wanted it to do! :)

    except … i really wanted to use this on the SEARCH page in the blog. i figured the blog would carry over the use of iframe for the links. it does not.

    HOW CAN I APPLY THE CODE YOU SENT FOR THE “SEARCH” PAGE “INSTEAD” OF THE BLOG PAGE?

    thanks so much!!

    chris

    #840726

    bump. more help please! the code works for the BLOG page, which is what i originally wanted. INSTEAD, I NOW WANT IT FOR THE “SEARCH” PAGE. thanks in advance for helping!!

    chris

    #841011

    hey there @Ismael … i know you’ve got an answer in that genius brain of yours!

    please help me take the code you sent and apply it to my SEARCH page. :)

    thanks so much!

    chris

    #841525

    my genius friend @tjswarbs78 !

    i would love to ask for your help on this one. it seems to be stumping the moderators.

    the code that ismael sent me works on the blog (episodes page) … but NOT on the search page.

    i REALLY want the title links / results on the SEARCH page to open up in the lightbox.

    (and i eventually want to disable the title links in the blog/episodes page since i have showing all content anyway.)

    thanks so much for your time!! you truly are a genius.

    blessings,

    chris

    #841882

    Hi,

    I’m sorry for the late response. If you want to apply it on the search page, just edit the includes > loop-search.php file then look for the following line.

    echo "<h2 class='lightbox post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."?iframe=true' $markup>".get_the_title()."</a></h2>";
    

    We added “lightbox” inside the class attribute.

    Best regards,
    Ismael

    #841992

    oh my goodness! thank you so very much! works GREAT!!

    problem is solved! :)

    chris

    we can close this one.

    #842351

    Hi,

    Great. Let us know if you need anything else.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘blog titles on main blog page are HUGE … plus i want to open posts in lightbox’ is closed to new replies.