Is there a way to eliminate the "FREE" upper left corner icon that populates on courses with no fee (within Catalog)?
Unfortunately, not I would suggest submitting a feature request for this and tag catalogenhancements for it to be recognized.
It should do the trick.
You may have issues with Catalog parsing the code. If so, just convert the JS to CSS and put the CCS code in the CSS field above. (see below).
Greg Lawrence Have you discovered a way to do this for a single course or sub-account only? So not applying the script in the main catalog.
This could be done in Jquery by finding the unique href for a Catalog's Listing's product link on the relevant sub-catalog page, then finding the element that provides the flag background color and changing its css attribution to the color you want. Something like what is shown below. You would have to repeat this search and replace code for a few elements on both the sub catalog and course listing pages.
Also, there is a risk is that if the product link url changes, then these snippets of code will not work.
Great, thanks for the info. I'll give it a try.
Now I think about, you can search by more stable attributes in a course listing that a href (URL), which can be easily changed.
Here is the code for searching for any attrribute by an attrubute value. For a catalog course tile, I think a good attribute for locating a Listing will be 'data-logo-account'.
Good point, you are awesome! Thanks again!
Hi Greg Lawrence, Were you able to find a way to not totally remove the "FREE" tag but instead change the words where the "FREE" tag is? We are trying to think of ways to:
1. Remove the free tag -- which we have the solution
2. Change the word on the "FREE" tag but figure out how many characters are available is it only four? Also, to figure out words as identifiers such as DEPT meaning the department is paying for it.
Its a text string swap in jQuery that still applies the same colour and other stylings to the new text.
I also put some text in the element to see how it got displayed (see above). You could change the flag colouring to match different texts perhaps?
We will test it out and let you know.
Retrieving data ...