Title customization

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jun 05, 2013 6:51 pm
Reply with quote
Report this post
Is there a way to make sure that when you have to use an &reg in part of a title, the &reg would be automatically super scripted and reduced in size so that it doesn't dominate the title like it does now?

[img]
image.jpg
[/img]

Thanks
Andrew
User avatar
Junior Boarder

GK User
Wed Jun 05, 2013 7:19 pm
Reply with quote
Report this post
Hi,
it would be externally hard to do without jquery or any other JS.

But ...I have one idea... give me moment.
User avatar
Platinum Boarder

GK User
Wed Jun 05, 2013 7:30 pm
Reply with quote
Report this post
Ok, CSS has a property called content. It can only be used with the pseudo elements :after and :before.
We used on our template to add [TOP] [NEW] labels in modules.

Try this one:

Code: Select all
.registered-mark:after  { content:"\00ae"; font-size:10px; }


then to article class add "registered-mark" - but it will work fine only when the last element would be registered sign word.

So this method will work perfect only with category names when you have only one word.

p.s.
Maybe think of something else later. :ugeek:
User avatar
Platinum Boarder

GK User
Wed Jun 05, 2013 7:36 pm
Reply with quote
Report this post
By the way here I've found key points to be mindful of when using registered trademark : http://www.searchenginejournal.com/regi ... tag/20463/

...I still thinking.
User avatar
Platinum Boarder

GK User
Wed Jun 05, 2013 11:07 pm
Reply with quote
Report this post
Thanks Pawel. At my company we use &reg, &copy, as well as &trade. Sometimes all in one single line.

Like "DigiTrak® SE™" for instance.

Pawel F wrote:By the way here I've found key points to be mindful of when using registered trademark : http://www.searchenginejournal.com/regi ... tag/20463/

...I still thinking.
User avatar
Junior Boarder

GK User
Thu Jun 06, 2013 11:51 pm
Reply with quote
Report this post
In Joomla titles - no idea, without hacking Joomla code! Because you have to disable cleaning title code from HTML tags. Custom Job Only (PM)!
In content - sure, pretty simple.

p.s.
Sorry for asking but...
Why your boss want to have "law" marks in titles, nobody have it, except simple HTML webpages without CMS.
It is not enough that they are in the content? What about SEO? Who will search LOGO TM /(R) ? Not me. :whistle:
User avatar
Platinum Boarder

GK User
Fri Jun 07, 2013 12:42 am
Reply with quote
Report this post
Ufff, I've got it. You own me a good beer.

It's strange that I had not invented it before, but now in middle of the night.
logo-r.png

logo-r-code.png


1) Download and install ReReplacer (nonumber.nl or similar component)
2) Create a new rule /click to open img & use scrolls/
logo-RR.png


For TM symbol use -> ™
For registered trademark symbol use -> ®

Then add css style:

Code: Select all
h1 span {font-size:15px;  color:red;}
User avatar
Platinum Boarder

GK User
Mon Jun 17, 2013 10:14 pm
Reply with quote
Report this post
Thanks Pawel!! Yes I do owe you a good beer. Whenever, you are in my part of town send me a mesaage and we can go hang out.

Thanks again.
Andrew


Pawel F wrote:Ufff, I've got it. You own me a good beer.

It's strange that I had not invented it before, but now in middle of the night.
logo-r.png

logo-r-code.png


1) Download and install ReReplacer (nonumber.nl or similar component)
2) Create a new rule /click to open img & use scrolls/
logo-RR.png


For TM symbol use -> ™
For registered trademark symbol use -> ®

Then add css style:

Code: Select all
h1 span {font-size:15px;  color:red;}
User avatar
Junior Boarder

GK User
Tue Jun 18, 2013 9:28 pm
Reply with quote
Report this post
Sure, thanks.
By the way I've added this tip to our documentation section: http://www.gavick.com/documentation/joo ... mla-title/
User avatar
Platinum Boarder


cron