I am building a new site using the comics template, and would like to make a couple of changes:

Is it possible to increase the number of colours of the main categories? I would like to have 7 or 8 main categories, all with different colours. I would then like to add 2 or 3 more colours, maybe a yellow, a tan, a light blue...
It would be convenient to add these new colours also in the options menu of the categories

is it possible to change the current colours of the categories? In some cases I would like to change the colours a bit so that they are more like 'line colours' that I would use in the categories

Thanks

D.

    Hi afdl_it
    You can change the category color in the Category setting > JA Extra field tab.
    To add more color, I think we will need step by step guide, I will ask our technical team to add the instruction here for you.

    Regards.

    Hi @afdl_it

    You can more color for category by steps:

    1. Add params for color in file:
      [root]/templates/ja_comics/etc/form/com_categories.categorycom_content.xml
      Bellow line 14 add field: <option value="cat-1">Color 1</option>

    2. Put custom style to file [root]/templates/ja_comics/local/css/custom.css

      .link-cat-1  {
      	--body-link-color: #fff;
      	--body-link-hover-color: #fff;
      	background: {your-color}!important;
      	color: #fff!important;
      	position: relative;
      }
      
      .link-border-cat-1  {
      	border-bottom: 1px solid {your-color};
      	color: var(--headings-color);
      }
      
      .link-border-cat-1:hover {
      	color: {your-color};
      }

    Let us know if you need any further help.

    Write a Reply...
    You need to Login to view replies.