How to insert graphics in catateories?

Go down

How to insert graphics in catateories? Empty How to insert graphics in catateories?

Post by Kronika1997 on June 25th 2019, 7:24 pm

Hello.
I am trying to get the conversion of category names into graphics. The problem is that I have come to a code that changes each category. I would like the code to change the textual name of the category into graphics.

Code:
th.secondarytitle {
  background-color: #000000;
  background-image: url("https://i.ibb.co/3rMPh7v/1-Organizacja.png"); width: 490px; height: 125px;
  background-repeat: no-repeat;
      text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

As I mentioned before, the code changes any kateogiri table, and I would like every category to have a different graphic. Is it possible to do it in CSS or do you have to use Java script? (which I can not).

This is how it looks in practice: http://mortal-kombat.forumpolish.com/
Kronika1997
Kronika1997
New Member

Posts : 1
Reputation : 1
Language : Polska

https://http:/mortal-kombat.forumpolish.com

Back to top Go down

How to insert graphics in catateories? Empty Re: How to insert graphics in catateories?

Post by Ikerepc on June 30th 2019, 6:23 pm

Hi.

Probably you can instead of category name just put html code of image...
If that's what you are looking for.
I see you already have something like that on your forum.
Ikerepc
Ikerepc
Active Poster

Male Posts : 1175
Reputation : 164
Language : PHP, jQuery, SQL, JavaScript, HTML5, CSS3, Basic, C, C++ <?php echo 'English and Croatian'; ?>
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

How to insert graphics in catateories? Empty Re: How to insert graphics in catateories?

Post by skouliki on July 6th 2019, 7:50 pm

hello

is this solved?
skouliki
skouliki
Manager
Manager

Female Posts : 6340
Reputation : 970
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum