Announcement

Collapse
No announcement yet.

Remove page-title from non product pages

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

    Remove page-title from non product pages

    I have several pages on my site that are informational only like About Us, Resources, Consulting, etc... that I want to remove the page-title from. Does anyone know how to do that? Sorry for all the posts lately, I need to show the site soon to my client and I want to get it as far along as possible. Thanks!

    #2
    Do you want to complete remove the Page Title tag or do you need to make it more SEO friendly? You can either go into each of the templates and remove the <title> tag (not recommended) or use the SEO feature for each page and give it a more friendly title.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #3
      No, I don't want to completely remove the titles. I need them as-is on all product, category, etc... pages. I want to change them on non-miva pages like (about us). I'd rather have the title appear on top of a larger banner image, possible centered and in a different font.

      Comment


        #4
        I don't want to remove the <title> tag, I'm talking about the page title that is an H1:

        <h1 class="column whole large-np page-title">TITLE HERE</h1>

        Comment


          #5
          That snippet of code is in the User Interface > Settings tab > Global Header

          Code:
          <mvt:if expr="l.settings:page:code NE 'SFNT'">
                              <mvt:if expr="l.settings:page:code EQ 'CTGY'">
                                  <mvt:if expr="NOT ISNULL l.settings:category_title:image">
                                      <img class="column whole h4 page-title" src="&mvte:category_title:image;" alt="&mvte:category:name;" title="&mvte:category:name;" />
                                  <mvt:else>
                                      <h1 class="column whole large-np page-title">&mvte:category:name;</h1>
                                  </mvt:if>
                              <mvt:elseif expr="l.settings:page:code EQ 'PROD' OR l.settings:page:code EQ 'PATR' OR l.settings:page:code EQ 'ORDL' OR l.settings:page:code EQ 'OCST' OR l.settings:page:code EQ 'OUS1' OR l.settings:page:code EQ 'OUSM' OR l.settings:page:code EQ 'UATM' OR l.settings:page:code EQ 'UATR' OR l.settings:page:code EQ 'OSEL' OR l.settings:page:code EQ 'OPAY' OR l.settings:page:code EQ 'INVC'">
                                  <div class="breaker"></div>
                              <mvt:else>
                                  <h1 class="column whole large-np page-title">&mvte:page:name;</h1>
                              </mvt:if>
                          </mvt:if>
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            Hi Leslie,

            Thanks for showing me where the code appears within the miva admin, but do you know how I code it so the H1's are treated differently on some pages and not on others? Do you know if I can do some sort of if/then such as: -- IF page is consulting, about us, resources, etc. page THEN <h1 class="large white all cap over background image"> -- ?

            I'm not sure how to code that in miva, any help would be appreciated! thx

            Comment

            Working...
            X