• Resolved pdresselhaus

    (@pdresselhaus)


    Hello!

    How would I make the template generator generate <h3> tags for my titles instead of the default <h2> tags? I even changed timeline-express-container.php with no success :/

    timeline-express-container.php | line 51-53 | from

    	<h2 class="cd-timeline-item-title">
    		<?php the_title(); ?>
    	</h2>

    timeline-express-container.php | line 51-53 | to

    	<h3 class="cd-timeline-item-title">
    		<?php the_title(); ?>
    	</h3>

    Thanks in advance!

    Cheers

    P.S.
    I do not want to change the CSS for the .cd-timeline-item-title class like shown in the link below. I want my site-wide theme to stay in control over the design.

    https://wordpress.org/support/topic/how-to-resize-text-in-the-announcement-title/

    • This topic was modified 5 years, 12 months ago by pdresselhaus.
    • This topic was modified 5 years, 12 months ago by pdresselhaus.
    • This topic was modified 5 years, 12 months ago by pdresselhaus.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Code Parrots

    (@codeparrots)

    Hi @pdresselhaus,

    Have you taken a look at our documentation on customizing the timeline express templates? The following documentation article should help point you in the right direction:
    https://www.wp-timelineexpress.com/documentation/customize-announcement-container/

    Essentially, you’d just need to copy the template out of the plugin and into your theme root in a timeline-express directory. From there you can make all the changes you need, including swapping the h2 or an h3.

    This would also allow you to update the plugin moving forward without wiping out your customizations.

Viewing 1 replies (of 1 total)
  • The topic ‘Change title-tag from h2 to h3’ is closed to new replies.