Announcement

Collapse
No announcement yet.

Changing <strong> to <h2>

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing <strong> to <h2>

    I have been trying to change the link to the eg: Cross Townsend Pen from a <strong> to a <h2> tag. when I do this is just messes up the grey outline box and the View Range button. How do I do this?

    Also is there any way of reducing the amount of white space between the link and the button?

    https://www.thepenzone.co.uk/acatalog/cross-pen.html

    #2
    You would need to change the style definition for h2 in the stylesheet layout. Try adding the following styles:
    font-size: 26px;
    text-align: center;

    And change:
    margin-top: 20px;
    to:
    margin-top: 5px;

    That would change the appearance of h2 throughout the site. If that isn't what you want, you would need to add a new contextual style just for h2 in the Subsection pages

    I hope this helps
    Bruce Townsend
    Ecommerce Product Manager
    Sellerdeck Ecommerce Solutions

    Comment


      #3
      Tried this but it just renders the page wrong when changing <strong> to <h2>

      https://www.thepenzone.co.uk/acatalog/cross-pen.html

      See below.
      Attached Files

      Comment


        #4
        It's hard to be sure from a screen image, but it looks like the tag encloses the 'View Range' button and not just the product name. You could try moving that outside the h2 tag. But you might still need a <strong> tag around the button to preserve the old design - it depends how the CSS is constructed.
        Bruce Townsend
        Ecommerce Product Manager
        Sellerdeck Ecommerce Solutions

        Comment

        Working...
        X