Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
buttongts
tagDiv Member

Thanks Lucian it works perfect!

buttongts
tagDiv Member

1. Thanks Lucian h1 works perfect now.

2. Yes I know it is default h3 theme tags, but I want to change only post sitltes for widget. When I change td_module.php:

function get_title($excerpt_lenght = '') {
        $buffy = '';
        $buffy .= '<h3 itemprop="name" class="entry-title">';
        $buffy .='<a itemprop="url" href="' . $this->href . '" rel="bookmark" title="' . $this->title_attribute . '">';
        if (!empty($excerpt_lenght)) {
            $buffy .= td_util::excerpt($this->title, $excerpt_lenght, 'show_shortcodes');
        } else {
            $buffy .= $this->title;
        }
        $buffy .='</a>';
        $buffy .= '</h3>';
        return $buffy;
    }

All post titles transform to h3 on my homepage.

For example I want to:
-> widget post titles (h3)
-> article post titles (h2)

It is bad for SEO, when I have twenty titles h2 and zero h3.

  • This reply was modified 12 years by buttongts.
  • This reply was modified 12 years by buttongts.
  • This reply was modified 12 years by buttongts.
buttongts
tagDiv Member

1. Text block is working (H1, H2, H3 etc.),
but if I use

.home .td-page-wrap .span8 .block-title span {
font-size: 30px;
}

title doesn’t transform to h1.

2. I want to change only entry title posts on my widget to h3 without entry title posts (article titles). It is impossible because, when I change td_module.php all entry titles transform to h3.

buttongts
tagDiv Member

Hello,

Unfortunately it doesn’t work. When I used this code in Custom CSS, fonts are larger, but don’t transform to H1 or H3.

Viewing 4 posts - 1 through 4 (of 4 total)