Change size fonts

Posted in: Newspaper
Post count: 5

Hello,

I have a problem, and I don’t know how to solve it

1. I would like to change size font to “h1” (only one main blue box) on my homepage. Screenshot:
http://postimg.org/image/3s90jjx1t/

2. I would like to change “entry-title” only on my widget to h3.
Screenshot:
http://postimg.org/image/t4y81hzh1/

How to change it?

This is my site: http://dominikbrzus.pl

Best Regards,
Dominik

Post count: 6600

Hi,

1. Add this custom CSS in Theme Panel -> Custom CSS:

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

2. Have you tried to change it from Theme Panel -> Custom Typography like this: http://screencast.com/t/JCdTbFKi9
If this not works use this CSS:

.td_mod3 .entry-title a, .td_mod3 .entry-title {
font-size: 15px !important;
}

Thank you

Post count: 5

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.

Post count: 780

Hi,

please try to add a h1 via the pagebuilder (text block) on your homepage.

to change the widget h tag go here: http://screencast.com/t/E4A1q9w55f

let me know if it works. We are working to improve this part of the theme.

Post count: 5

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.

Post count: 6600

Hi,

1. Please change the H4 tag from page-homepage-loop.php file into a H1 tag like this: http://screencast.com/t/l2VjiJai
Then you can use the custom CSS that you mentioned above.

2. On our Demo all post titles from widgets are by default with h3 tags http://screencast.com/t/zmE38SHD6K5z

Thank you

Post count: 5

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.
Post count: 6600

Hi,

What you can do is to duplicate the the get_title function in td_module.php file and name it get_title_h3 for example, then replace the title tags with H3 tags like this: http://screencast.com/t/olfwpDqW

Then set the module 3 that you are using to get the title with that function like this: http://screencast.com/t/huW7XVCe84v

This should do the job!

Thnaks

Post count: 5

Thanks Lucian it works perfect!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.