Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

H1 H2 Tag In The Wrong Place? Rate Topic   - - - - -

 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 40 posts

Posted 10 July 2017 - 11:18 AM #1

I want to take Title h1 as a tag. 

  <h1 class="ty-mainbox-title">
                    
                                            Görüş ve Önerileriniz
                                        

                </h1>
            

                <div class="ty-mainbox-body">

I do not want to add h2 to footer section?

 

https://seositecheck...and-h2-tag-test

 

https://www.beyaznevresim.com/tr/otel-tekstili/



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 16,120 posts

Posted 10 July 2017 - 01:43 PM #2

Looks like h1, h2 and h3 tags are missed up in the block wrappers of your theme. They are located in the following directory

 

design/themes/THEME/templates/blocks/wrappers

 

It is required to correct corresponding templates


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 40 posts

Posted 10 July 2017 - 02:24 PM #3

mainbox_general.tpl

{if $content|trim}
    <div class="ty-mainbox-container clearfix{if isset($hide_wrapper)} cm-hidden-wrapper{/if}{if $hide_wrapper} hidden{/if}{if $details_page} details-page{/if}{if $block.user_class} {$block.user_class}{/if}{if $content_alignment == "RIGHT"} ty-float-right{elseif $content_alignment == "LEFT"} ty-float-left{/if}">
        {if $title || $smarty.capture.title|trim}
            {hook name="wrapper:mainbox_general_title_wrapper"}
                <h1 class="ty-mainbox-title">
                    {hook name="wrapper:mainbox_general_title"}
                    {if $smarty.capture.title|trim}
                        {$smarty.capture.title nofilter}
                    {else}
                        {$title nofilter}
                    {/if}
                    {/hook}
                </h1>
            {/hook}
        {/if}
        <div class="ty-mainbox-body">{$content nofilter}</div>
    </div>
{/if}

The codes are original but why does h1 tag not give a title?



 
  • alemburda
  • Member
  • Trial users
  • Join Date: 17-Dec 16
  • 40 posts

Posted 10 July 2017 - 02:29 PM #4

I am now working on the problem theme planning.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 16,120 posts

Posted 11 July 2017 - 06:48 AM #5

Please make sure that this wrapper is selected for the Main content block on all layout pages

 

http://prntscr.com/fu6swe

 

If yes, this data can be also overrided by 3rd party addons


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • sadesh
  • Member
  • Trial users
  • Join Date: 03-Jan 17
  • 19 posts

Posted 09 August 2017 - 07:14 AM #6

first h1 is important for the on page SEO and also tags are required like h2 or h3 , or h4 or h5.