Change Subcategories title h4

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
9 years 3 months ago #242858

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5

Hello!

From which view file can i change the Subcategories title from h4 to h2?
I can't find it anywhere!
Here is my link:

Part of the message is hidden for the guests. Please log in or register to see it.


Thank you in advance

Last edit: 9 years 3 months ago by verzevoul.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 3 months ago #242864

Hello,

You can't find a specific view to manage ONLY Sub- categores listing because, main category OR sub-category are manage by the same file, more precisely by listing_div, or listing_list (depends from your category configuration display).
So in theory you can created an override view in order to change html tag h4 to h2, BUT that will modify the title size for ALL of your categories listing on your website...

Maybe that can be a problem, so I suggest to use Css code to only customize THIS specific page titles !
My idea is that you want have a bigger typo size, right ?

So this kind of code can be your solution :

div#hikashop_category_information_menu_261 div#category_panel_261 font {
    font-size: 16px;
}

Note : "div#hikashop_category_information_menu_261" target your category listing and "category_panel_261" your current listing, if later you create an other listing it won't be affect by the Css code.

For customize your page via your Css,
have a look on this link, here .

Note : I advice you to edit your Css file at the end, later that will be easier to find and correct it.

To learn more about Css code and their properties, I invite you to read this source, here .

Hope that will help you.

Regards,

Last edit: 9 years 3 months ago by Philip.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
9 years 3 months ago #242971

Hi Philip,

i found an h4 tag in listing_list view file, changed it to h2 but nothing changed. I know that i can use css but i want to change the title to h2 or h1 for better seo.

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 3 months ago #242979

Hello,

If you have edit the right file by creating an override, in Display => Views, then this your Accordion plugin that override your view.
Can you try to check this by unpublished this plugin, and if it's works with out it, you have to ask for this to Accordion support.

Hope this will help you.

Regards

Last edit: 9 years 3 months ago by Philip.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
9 years 3 months ago #243095

Hi Philip,

I m sorry but i don't understand what you mean. Where can i find it and unpublish the Accordion plugin?

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 3 months ago #243105

Hello,

To unpublished your accordion in order to proceed some test with your H4, follow these steps :
- Go to Extensions => Plugins
- Use the search bar, by typing accordion



- Just unpublished it or them if several plugins Accordion by clicking here



Hope this will help you.

Regards.

Attachments:
Last edit: 9 years 3 months ago by Philip.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
9 years 3 months ago #243174

Hi Philip,

there is no accordion plugin.
Its the native hikashop category view

Thank you

Last edit: 9 years 3 months ago by verzevoul.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 3 months ago #243179

Hello,

Then, maybe this come from your template, see this screenshot :



As you can see, there is "something" called Accordion that override the classic HikaShop listing display.
You can try to make a test with the Protostar (Default template), in order to see if you have your h4 that you add in your override view.

Awaiting news from you.

Regards

Attachments:
Last edit: 9 years 3 months ago by Philip.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum