Display Font Issue in Publish Instance | Community
Skip to main content
New Participant
September 26, 2016
Solved

Display Font Issue in Publish Instance

  • September 26, 2016
  • 3 replies
  • 1522 views

Hi All,

I have a webpage where my requirement is that whenever we will click on any navigation item (like home) It should displayed  imagoMediumFont imagoBold.

But whenever I am selecting It is showing selected as  imagoMediumFont imagoBold but in preview It is coming as Arial , as shown in below screenshot.

 

My requirement is that In Preview also it should come as  imagoMediumFont imagoBold.

Can anybody please help me where I need to change this one ?

Thanks in Advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi

Can you please share how are you trying to achieve this ?

Simple Example:

HTML:-

<ul id="navlist">
    <li id="home"><a class="nav" href="home">Home</a></li>
    <li id="about"><a class="nav" href="about-us">About Us</a></li>
</ul>

CSS:-

.nav { color: green; }
.selected { color: red; }

JS:-

$('#navlist a').click(function(e) {
    e.preventDefault(); //prevent the link from being followed
    $('#navlist a').removeClass('selected');
    $(this).addClass('selected');
});
 

Output:-  Home

  •             About Us     

 

Or 

  •             Home
  •             About Us

Working DEMO:- https://jsfiddle.net/ChrisStanyon/4r5vg/

Try to achieve it by this.

~kautuk                 

3 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
October 4, 2016

Hi

Can you please share how are you trying to achieve this ?

Simple Example:

HTML:-

<ul id="navlist">
    <li id="home"><a class="nav" href="home">Home</a></li>
    <li id="about"><a class="nav" href="about-us">About Us</a></li>
</ul>

CSS:-

.nav { color: green; }
.selected { color: red; }

JS:-

$('#navlist a').click(function(e) {
    e.preventDefault(); //prevent the link from being followed
    $('#navlist a').removeClass('selected');
    $(this).addClass('selected');
});
 

Output:-  Home

  •             About Us     

 

Or 

  •             Home
  •             About Us

Working DEMO:- https://jsfiddle.net/ChrisStanyon/4r5vg/

Try to achieve it by this.

~kautuk                 

Kautuk Sahni
New Participant
September 27, 2016

Hi Tuhin,

Please find the below screenshot. Please let me know If you need anything else.

Thanks for your response.

Tuhin_Ghosh
New Participant
September 27, 2016

This looks like some kind of css problem. could you attach some plain screen shot of the problem without editing. You may blur the client name and client specific data. I want to see the exact css classes, that are loaded in the developer console.

 

Thanks and Regards,

Tuhin