Opencart 3.0.3.2
Theme Default
In the category description, if you insert an image, you can add a title to it. (in the image attributes)This title appears as a black box with white text on the web page in the browser. In which file can I change the box color to white and the text color to black or any other color?
Thank you
Theme Default
In the category description, if you insert an image, you can add a title to it. (in the image attributes)This title appears as a black box with white text on the web page in the browser. In which file can I change the box color to white and the text color to black or any other color?
Thank you
Well, if you change that color Value (h2), it will look different everywhere, where
something is displayed 'font-size+color-marked' to show up in h1, h2, h3, h4, h5, h6
<h2>{{ heading_title }}</h2>
you would need to add some custom named Style-Code to the stylesheet, only valid
for that Line, and change it in the theme category.twig accordingly, to make
that work, like:
<cust_cat>{{ heading_title }}</cust_cat>
---
old:
stylesheet.css
---
add after the above something like this:
---
then clear out all cache and Mod-cache, and try it out, and adjust it in the stylesheet, to make it look as planned.
Good Luck!
Ernie
---
something is displayed 'font-size+color-marked' to show up in h1, h2, h3, h4, h5, h6
<h2>{{ heading_title }}</h2>
you would need to add some custom named Style-Code to the stylesheet, only valid
for that Line, and change it in the theme category.twig accordingly, to make
that work, like:
<cust_cat>{{ heading_title }}</cust_cat>
---
old:
stylesheet.css
Code: Select all
h1, h2, h3, h4, h5, h6 {
color: #444;
}
add after the above something like this:
Code: Select all
cust_cat {
font-size: 18px;
padding: 3px 3px;
color: #WHATEVER;
}
then clear out all cache and Mod-cache, and try it out, and adjust it in the stylesheet, to make it look as planned.
Good Luck!
Ernie
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I'm sorry, I didn't express myself well. i am interested in changing the color of the title of the image that appears above the image when you hold the mouse over it. (hover)
Attachments
Untitled-1.png (106.19 KiB) Viewed 1630 times
Please post a web address or contact your theme developer to resolve the issue
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
My theme is a Default theme of Opencart.
I'm editing locally so I can't give you an address
i don't think anyone understands what i want. when you place the mouse on the image, the title of the image is displayed and this title is in a black square with white letters for me. can i change that in a white frame and black letters because now this is very inappropriate for my site.
I'm editing locally so I can't give you an address
i don't think anyone understands what i want. when you place the mouse on the image, the title of the image is displayed and this title is in a black square with white letters for me. can i change that in a white frame and black letters because now this is very inappropriate for my site.
that's right. I'm talking about the title tag. In a previous post I pasted an image showing how it appears in a black square with white text when you place the mouse cursor over the image. Can i change the color of box and text?
Attachments
Untitled-1.png (106.19 KiB) Viewed 1552 times
As far as I know you cant style a title attribute. You would have to google around alternative methods for that. (e.g Bootstrap Tooltip or some custom css on a data-attribute )
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
i understand this is a css case or bootstrap min but i can't find which item to fix. google can't find anything
if all the colors can be changed, the color can probably also be changed to display the name when you place the mouse on the image. (any image on the whole store.) mouse over hover status..
image title that appears when you place the mouse on each image... now this is a black square with white letters and it is horrible.
anyone?
if all the colors can be changed, the color can probably also be changed to display the name when you place the mouse on the image. (any image on the whole store.) mouse over hover status..
image title that appears when you place the mouse on each image... now this is a black square with white letters and it is horrible.
anyone?
Who is online
Users browsing this forum: No registered users and 414 guests