Post by by mona » Fri Jan 13, 2023 10:28 am

both

Code: Select all

.product-thumb h4+p {
display: none;
}
and

Code: Select all

.product-thumb .caption h4 + p {
display: none;
}
work on your site

You add one of them to your catalog/view/theme/default/stylesheet/stylesheet.css - at around line 543 after /* product list */
Add it now and leave it there - tell us when you have added it so we can double check you have done it correctly.

REMEMBER: You need to clear out your dashboard cache, browser cache and any server caching you might have

Attachments

Screen Shot 2023-01-13 at 02.20.28.png

Screen Shot 2023-01-13 at 02.20.28.png (202.48 KiB) Viewed 993 times


DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Fri Jan 13, 2023 6:07 pm

gcextreme wrote:
Fri Jan 13, 2023 10:06 am
also tried another solution i found here on the forum for editing the product.twig file. that didnt work either.
So is this solved or not because the post is marked [SOLVED]?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by by mona » Fri Jan 13, 2023 6:22 pm

This was [SOLVED] for the original poster but a second person (correction third) with the same request is not - despite the solution being correct - thus the post is correctly marked as [SOLVED]

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Fri Jan 13, 2023 6:47 pm

by mona wrote:
Fri Jan 13, 2023 6:22 pm
This was [SOLVED] for the original poster but a second person (correction third) with the same request is not - despite the solution being correct - thus the post is correctly marked as [SOLVED]
Ah nice, so this third person probably just needs to clear their caches.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by by mona » Fri Jan 13, 2023 6:50 pm

indeed - the highlighter pen ;D

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by gcextreme » Sat Jan 14, 2023 10:07 am

by mona wrote:
Fri Jan 13, 2023 10:28 am
both

Code: Select all

.product-thumb h4+p {
display: none;
}
and

Code: Select all

.product-thumb .caption h4 + p {
display: none;
}
work on your site

You add one of them to your catalog/view/theme/default/stylesheet/stylesheet.css - at around line 543 after /* product list */
Add it now and leave it there - tell us when you have added it so we can double check you have done it correctly.

REMEMBER: You need to clear out your dashboard cache, browser cache and any server caching you might have

Ok so i added both those code segments to the stylesheet like you said. Sorry for the delay i work a full time day job and do this stuff in the evenings.

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by gcextreme » Sat Jan 14, 2023 10:11 am

paulfeakins wrote:
Fri Jan 13, 2023 6:47 pm
by mona wrote:
Fri Jan 13, 2023 6:22 pm
This was [SOLVED] for the original poster but a second person (correction third) with the same request is not - despite the solution being correct - thus the post is correctly marked as [SOLVED]
Ah nice, so this third person probably just needs to clear their caches.
I have cleared the google chrome cache, even tried FireFox and that stupid Microsoft Edge browsers and the description still shows up in thumb on the category and home page carousels.

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by by mona » Sat Jan 14, 2023 4:24 pm

No problem - the thoughtfulness is appreciated :)

You only need to use one of them - the both do exactly the same thing.
They are working correctly on your site - it is your browser cache - i.e. the information stored on your personal computer


Google hard clear cache on browsers.
https://help.grow.com/hc/en-us/articles ... d-refresh-

Attachments

Screen Shot 2023-01-14 at 08.17.25.png

Screen Shot 2023-01-14 at 08.17.25.png (415.79 KiB) Viewed 860 times


DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Sat Jan 14, 2023 6:12 pm

gcextreme wrote:
Sat Jan 14, 2023 10:11 am
I have cleared the google chrome cache, even tried FireFox and that stupid Microsoft Edge browsers and the description still shows up in thumb on the category and home page carousels.
Ok but have you ...
Image
https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by by mona » Sat Jan 14, 2023 7:39 pm

Nice plug there Paul 8)

Actually Paul’s generic page is very useful generally for various the Opencart cache and worth bookmarking for future reference, however to get this resolved and because you followed instructions- thank you - we know that it is your browser cache. The reason we ask for you to follow instructions is so we can identify the issue to resolve rather than trying something generic.

The link I previously gave utilised the use of incognito mode / private browsing. It is a good thing to know.

Since we are on the subject of useful resources for browser caching issues, another part of the toolkit that is useful to know is clearing cache for one site only.
For example : https://www.minitool.com/news/clear-cache-for-one-site

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by gcextreme » Sun Jan 15, 2023 3:58 am

by mona wrote:
Sat Jan 14, 2023 4:24 pm
No problem - the thoughtfulness is appreciated :)

You only need to use one of them - the both do exactly the same thing.
They are working correctly on your site - it is your browser cache - i.e. the information stored on your personal computer


Google hard clear cache on browsers.
https://help.grow.com/hc/en-us/articles ... d-refresh-

Thank you very much. Do u know where the code is to shrink the height of the thumbnail box? I seem to be having issues finding it in the stylesheet

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by by mona » Sun Jan 15, 2023 10:18 am

You are welcome

same file
catalog/view/theme/default/stylesheet/stylesheet.css - at around line 580

change

Code: Select all

.product-thumb .caption {
    padding: 0 20px;
    min-height: 180px;
}
to

Code: Select all

.product-thumb .caption {
    padding: 0 20px;
    min-height: 80px;
}
to produce
Screen Shot.png

Screen Shot.png (471.88 KiB) Viewed 763 times

and don’t forget cache - site / server / browser

In the interest of good practice - really you should have a custom stylesheet and not edit opencart
https://www.opencart.com/index.php?rout ... n_id=43491

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by gcextreme » Sun Jan 15, 2023 11:01 am

by mona wrote:
Sun Jan 15, 2023 10:18 am
You are welcome

same file
catalog/view/theme/default/stylesheet/stylesheet.css - at around line 580

change

Code: Select all

.product-thumb .caption {
    padding: 0 20px;
    min-height: 180px;
}
to

Code: Select all

.product-thumb .caption {
    padding: 0 20px;
    min-height: 80px;
}
to produce
Screen Shot.png

and don’t forget cache - site / server / browser

In the interest of good practice - really you should have a custom stylesheet and not edit opencart
https://www.opencart.com/index.php?rout ... n_id=43491

Thanks again, I saved a backup of my original stylesheet.
Not sure how to refresh cache on the site/server just the browser. guessing i gotta login to my webhost control panel? with the phpmyadmin stuff?

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by by mona » Sun Jan 15, 2023 6:55 pm

You are welcome.
It is a good idea to learn what it is you do as you do it - google is your friend ;)

I see on your site the updated stylesheet has taken effect - so there is no need to do anything further re cache

A cache -- pronounced CASH -- is hardware or software that is used to store something, usually data, temporarily in a computing environment. https://www.techtarget.com/searchstorag ... tion/cache

Basically it is a photograph of files rather than having to get (takes time) or generate (takes more time) new files.

On the tech target link above you will get to the section What are the drawbacks of caches?
Opencart is dynamic -
search google for “what are cache control headers"
and again for "opencart forum - cache control headers”- ADD Creative may post a link - but you will find it on here if you search google.

In the case of your stylesheet.css file and your browser, what is actually happening to cause the ‘issue’
The css file is stored on your computer - so the next time you visit the site it does not get that file again - ie. this is why you have clear it - because it is not getting the new file.

What else might be an issue
In your admin dashboard top right cog - this is cache
Admin Modifications is another.
More may exist with your hosting package.
You can purchase modules like litespeed and nitropack

Pauls Blog he posted a link to is a good resource.

In short the css file can be cached multiple times in a number of places - so if there is a chain of cache you have to clear each of the links in that chain to get the updated sty sheet (or any other file).

If you are making changes and see the changes in the front end after browser cache refresh - then there is nothing more to worry about.

If changes are not being made and they are not appearing in the front end often it is a cache problem.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by gcextreme » Mon Jan 16, 2023 5:18 am

by mona wrote:
Sun Jan 15, 2023 6:55 pm
You are welcome.
It is a good idea to learn what it is you do as you do it - google is your friend ;)

I see on your site the updated stylesheet has taken effect - so there is no need to do anything further re cache

A cache -- pronounced CASH -- is hardware or software that is used to store something, usually data, temporarily in a computing environment. https://www.techtarget.com/searchstorag ... tion/cache

Basically it is a photograph of files rather than having to get (takes time) or generate (takes more time) new files.

On the tech target link above you will get to the section What are the drawbacks of caches?
Opencart is dynamic -
search google for “what are cache control headers"
and again for "opencart forum - cache control headers”- ADD Creative may post a link - but you will find it on here if you search google.

In the case of your stylesheet.css file and your browser, what is actually happening to cause the ‘issue’
The css file is stored on your computer - so the next time you visit the site it does not get that file again - ie. this is why you have clear it - because it is not getting the new file.

What else might be an issue
In your admin dashboard top right cog - this is cache
Admin Modifications is another.
More may exist with your hosting package.
You can purchase modules like litespeed and nitropack

Pauls Blog he posted a link to is a good resource.

In short the css file can be cached multiple times in a number of places - so if there is a chain of cache you have to clear each of the links in that chain to get the updated sty sheet (or any other file).

If you are making changes and see the changes in the front end after browser cache refresh - then there is nothing more to worry about.

If changes are not being made and they are not appearing in the front end often it is a cache problem.

Thanks, I am familiar with what cache is, just wasnt sure all the places to clear it. I found the area in my webhost panel tools to clear it as well.
I went to college and got an AAS degree back in 2004 for E-commerce web development, learning html, xhtml, java/javascript, coldfusion, php/asp, css, etc. But alot of my classes were mainly design, working with Dreamweaver to build sites, then Adobe Fireworks, Flash, and Photoshop to design basic stuff.
I've done small websites for local business and organizations, but then when the economy collapsed in 2008 I fell back on being a mechanical assembler building automated packaging machines, and then got into doing vinyl decals on the side.
I've learned alot on the forums and google and Youtube when its come to this OpenCart system. And I really appreciate all the help!

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by paulfeakins » Tue Jan 17, 2023 8:59 pm

by mona wrote:
Sat Jan 14, 2023 7:39 pm
Nice plug there Paul 8)

Actually Paul’s generic page is very useful generally for various the Opencart cache and worth bookmarking for future reference
Nice to hear ;)

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 75 guests