Get ride of <br> in category view.

  • Posts: 247
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
10 years 7 months ago #189793

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4

Hi,

Im making a responsive template for a client of mine (bootstrap 3, Bootstrap option on in Hikashop, NoNumber ReReplacer extension to convert B2 cades to B3).

However in de category view (main or subcategory) I see this code. I have edited all the overrides and everything looks fine to me now but I can't find a way to remove the <br> from the code. Where can I find it?

<div class="hikashop_container">
<div class="hikashop_subcontainer ">
<div class="hikashop_category_image" style="height:130px;text-align:center;clear:both;">
<a title="Wenskaarten" href="/xxxxxx/webshop/categorie/24-wenskaarten">
<img class="hikashop_product_listing_image" src="/xxxxxx/media/com_hikashop/upload/thumbnails/130x130f/wenskaarten.jpg" alt="" title="">
</a>
</div>
<br>
<span class="hikashop_category_name">
<a href="/xxxxxx/webshop/categorie/24-wenskaarten"> Wenskaarten </a>
</span>
</div>
</div>

<br> !This one has to be removed


I'll keep on trying!
Last edit: 10 years 7 months ago by gasoline.

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #189795

Hi,

It's the <br/> in the view "category / listing_img_title" before the span with class hikashop_category_name.

By editing that view you can delete it or comment it out.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 247
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
10 years 7 months ago #189798

Thanks a lot, that helped :)

P.S. Is there a page where there is clearly explained which overrides to use for which items? It's a hell of a search sometimes now. So many files.


I'll keep on trying!

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #189800

Well, there's this: hikashop.com/support/support/documentati...-display.html#layout

You might already be aware of it:
If you're using Firebug or another comparable browser console, you can see the HTML. With a bit of common sense and proper search tools/strategy you can find the code source fairly easily.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Jerome

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

  • Posts: 247
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
10 years 7 months ago #189815

lousyfool wrote: Well, there's this: hikashop.com/support/support/documentati...-display.html#layout

You might already be aware of it:
If you're using Firebug or another comparable browser console, you can see the HTML. With a bit of common sense and proper search tools/strategy you can find the code source fairly easily.


I get that, and can't live without Firebug.

However,

Product page customization:
By checking the following picture you’ll be able to know which file to edit via «Hikashop->Display->Views » regarding what you exactly want to change on product page._

Would be nice if there was a short discription what every individule style in category f.e. does. Some things I can't find (fast) because some code is generated. So really need to search hard. Hopefully when HS is transferred to Bootstrap 3 the views less complicated.

F.E.
I removed cols and style the category/items with stylesheet. However on some categories the rows break (and on others it don't). I can't find why:


I'll keep on trying!
Attachments:
Last edit: 10 years 7 months ago by gasoline.

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #189817

gasoline wrote: Some things I can't find (fast) because some code is generated. So really need to search hard.


If the code were static, it'd be easier, of course. You can't have it all: decent backend configuration, dynamic code and pages, flexibility, and source code that fits into a single, small and easy-to-read file... :blink:

So, I wouldn't expect it to be "less complicated" with BS3 options, but rather more - if it meant all options, standard/BS2/BS3. But you should notice that it's getting easier as you continue working with it. Again, common sense and proper search tools/strategy are your friends. ;)

Edit:
As for your example, it's hard to impossible to say without a link to a live site. See also the note here under point 4 .


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 7 months ago by lousyfool.

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

  • Posts: 247
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
10 years 7 months ago #189825

I can't give you a link because I'm building locally. But I'll give you example of the code:

full content of the webpage removed by a moderator
Zip of video removed by a moderator


I'll keep on trying!
Last edit: 10 years 7 months ago by Jerome.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #189827

Hi,

Please do not post full content page or place big zip.
The content of the page won't help in any kind while debugging because it require the all content of the webpage, including JS and CSS ; it require an access to the page in the browser to be able to use the tools.

At this moment, please use external cloud services for the storage of your big content ; but it's not the goal of our forum.

Thanks for your understanding.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: lousyfool

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #189829

(Edit: Jerome said it all, no need to add anything.)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 7 months ago by lousyfool.

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

  • Posts: 247
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
10 years 7 months ago #189830

Ill try to figure it out.

What I saw is that if I let the BS code on (Hikashop) than it keeps 3 colums or so. So I removed the code completly and give the containers 25% (4 columns), 33% (3 colums) and 50% (2 columns) for diferent vieuwsizes.

The strange thing is that some categories work well, and others break. That's what makes it confusing.

Anyway, hope to be live beginning next week. Than Ill show the link here.

P.S. Switch off rereplacer because no need. But taht didnt chage the breaks.

P.P.S.
Changing DIV settings in menu's (10 to 0) seemed to help. Still one pages that does break, but I'll find it :angry:


I'll keep on trying!
Attachments:
Last edit: 10 years 7 months ago by gasoline. Reason: Added PPS

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

Time to create page: 0.099 seconds
Powered by Kunena Forum