Post by zeus192 » Fri Oct 11, 2024 9:31 pm

hey there
after i upgrade my client's store from 3.0.3.7 (7.4 php) to 3.0.4.1 php 8.2, it broke my stylesheet.
tried several things but coudnt find whats wrong, any clue?
Last edited by zeus192 on Mon Oct 14, 2024 5:59 pm, edited 1 time in total.

Newbie

Posts

Joined
Fri Oct 11, 2024 9:28 pm

Post by OSWorX » Fri Oct 11, 2024 11:31 pm

zeus192 wrote:
Fri Oct 11, 2024 9:31 pm
after i upgrade my client's store from 3.0.3.7 (7.4 php) to 3.0.4.1 php 8.2, it broke my stylesheet.
Your or "clients" stylesheet ? ?

zeus192 wrote:
Fri Oct 11, 2024 9:31 pm
tried several things but coudnt find whats wrong, any clue?
And what is wrong?
Please be more specific and provide details, visiting this URL and see no errors ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by JNeuhoff » Sat Oct 12, 2024 1:30 am

What exact error messages did you get? In order to help you here we need more information, see forum rules.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by zeus192 » Sat Oct 12, 2024 3:09 am

For example, here: https://numisivo.com/moedas i added several flags to each category

.cat-name [href*="&path=85_91_89"]::before {
content: "";
display: inline;
position: relative;
padding-left: 20px;
background-image: url(/image/flags/pt.png);
background-position: center 12%;
background-repeat: no-repeat;
}


but it dsnt display.
Same for vars, it says is not set

Newbie

Posts

Joined
Fri Oct 11, 2024 9:28 pm

Post by paulfeakins » Mon Oct 14, 2024 5:41 pm

zeus192 wrote:
Fri Oct 11, 2024 9:31 pm
3.0.4.1
The latest is currently 3.0.4.0: https://www.opencart.com/index.php?rout ... ad/history

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


User avatar
Guru Member
Online

Posts

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

Post by zeus192 » Mon Oct 14, 2024 5:59 pm

yea, that one, sorry.

Newbie

Posts

Joined
Fri Oct 11, 2024 9:28 pm

Post by JNeuhoff » Mon Oct 14, 2024 7:14 pm

As said, please provide more details in order to get some help here. For your given link, looking at the source code, there is no href containing path=85_91_89 anywhere on your page.

In general, styling a link based on its href, you should use something like this:

Code: Select all

.cat-name a[href*="&path=85_91_89"]::before {
See https://stackoverflow.com/questions/293 ... n-its-href

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Tue Oct 15, 2024 6:07 pm

zeus192 wrote:
Mon Oct 14, 2024 5:59 pm
yea, that one, sorry.
The site appears to use a stylesheet - is this fixed?

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


User avatar
Guru Member
Online

Posts

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

Users browsing this forum: dbrooksuk and 19 guests