Loading


Advertisement:

Author Topic: How to display categories and subcat names entirely ?  (Read 416 times)

lulumerlan

  • Newbie
  • *
  • Posts: 6
How to display categories and subcat names entirely ?
« on: November 15, 2016, 05:31:55 pm »
Hi,
Trying to customize my Osclass Frontend, at this time I'm unable to find where I could modify the script to display entire text of my categories and subcategory, as you can see in this capture :

I did only find to modify number of columns in functions.php, but fail to enlarge it
If someone could tell me if solution is in functions.php oo directly in main.css (and and where  ;))
Thanks and regards
lulu, from France
http://histoire-geo.org/osclass/

MkRahamath

  • Jr. Member
  • **
  • Posts: 67
Re: How to display categories and subcat names entirely ?
« Reply #1 on: November 15, 2016, 06:30:41 pm »
Edit main.css which is in the CSS directory at theme folder.

find .r-list li
Code: [Select]
.r-list li {
    overflow: hidden; - clear this
    text-overflow: ellipsis;  - clear this
    white-space: nowrap;  - clear this if if you want it.
}

lulumerlan

  • Newbie
  • *
  • Posts: 6
Re: How to display categories and subcat names entirely ?
« Reply #2 on: November 15, 2016, 08:48:26 pm »
Thanks for your help, but it seems not to work

here is my modification
Code: [Select]
r-list li h1{text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;width:100%;font-weight:bold;display:inline-block;padding:10px;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 1px 0 rgba(255,255,255,0.75);border-color:#eaeaea;color:#069;background-color:#f7f7f7;text-shadow:0 1px 1px #fff}

lulumerlan

  • Newbie
  • *
  • Posts: 6
Re: How to display categories and subcat names entirely ?
« Reply #3 on: November 16, 2016, 08:08:19 pm »
So ... It works under Firefox ... But not under Chrome ...
What do you think of it ?  :-\

many thx
lulu

lulumerlan

  • Newbie
  • *
  • Posts: 6
Re: How to display categories and subcat names entirely ?
« Reply #4 on: November 16, 2016, 11:36:56 pm »
How to make it work with chrome that doesn't support text-overflow CSS ?

lulumerlan

  • Newbie
  • *
  • Posts: 6
Re: How to display categories and subcat names entirely ?
« Reply #5 on: November 17, 2016, 11:06:28 am »
So, indeed it works : I deletes all the 3 tags.
Many thanks !

MkRahamath

  • Jr. Member
  • **
  • Posts: 67
Re: How to display categories and subcat names entirely ?
« Reply #6 on: November 17, 2016, 07:04:38 pm »
Sorry, i meand that clear means delete.