Home Forums Pure Theme Discussion & Support showposts shortcode – entrytag

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Roger Leitch 4 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2840

    Roger Leitch
    Participant
    Post count: 56

    I have added this parameter (tried h1,h2 and h3) and it makes no different to the page when viewed.

    Am I doing something wrong or is it a bug?

    Thanks

    Page is here: http://www.scfchurch.co.uk/who-we-are/
    Displayed with [los_showposts post_type="pages" columns="2" content="true" heading="true" parent_id="101" num_posts="8" thumbsize="half" entrytag="h1"]

    #2846

    themeweaver
    Keymaster
    Post count: 730

    Yes it does.

    View Source on your page shows…

    <h1 class="entry-title">
    <a href="http://www.scfchurch.co.uk/who-we-are/leadership/" title="Leadership" rel="bookmark">Leadership</a>
    </h1>

    The entrytag parameter is working.

    But the css selector for this elemetn is

    .entry-content .content-box .entry-title {font-size:1.2em; …etc }.

    So it won’t visibly look different unless you add some custom css.

    #2851

    Roger Leitch
    Participant
    Post count: 56

    Thanks – added the css to the child theme with a change to the font size.

    Learning point is that css overides any default sizes for Hn tags.

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

You must be logged in to reply to this topic.