Problem with french "accents"

Viewing 7 posts - 1 through 7 (of 7 total)
  • #3162
    DiGMEH
    Participant

    Hey guys, I got a web site that I have to run in two languages, and every time I put an “accent” on one of the letters (é) it becomes bold and sticks out (like [b]é[/b]) and I cant unbold it as its not really bold. Any help?

    Thanks!

    #3163
    DiGMEH
    Participant

    And another thing, is there a way to make the home page NOT have the slider and another page to have it?? Thanks!!

    #3164
    walidoo
    Participant

    I’ve got the same problem. Thanks for any help

    #3165
    piergi
    Participant

    Hi.

    The problem you see is more likely related to the custom font used by the theme. It seems that this font does not have any non-English characters.

    Go to your stylesheet and change the default font to some font you have (e.g. Arial):

    [file: style.css]

    After the «clear» part, into the «body» field, change this line:

    font-family: Vegur, sans-serif;

    and make it look like this:

    font-family: Arial, Vegur, sans-serif;

    If you want you can get rid of the [i]Vegur[/i] altogether and your browser will use whatever font is the default [i]sans-serif[/i]:

    font-family: sans-serif;

    This font is probably the one you are already seeing for [i]é[/i] and [i]â[/i]. It looks bold to you because the Vegur font is extremely thin (looks like [i]Raleigh[/i] from Google Fonts).

    Hope this helps.
    Piergi

    #3455
    GoogleBot
    Participant

    Hi piergi, thanks for your advices. Do you know how to change the default font? I don’t know much about CSS.

    Regards

    #3457
    GoogleBot
    Participant

    OK I got it, however when the font was replaced the text lost its nice effects, so the text appear as normal font without effects.

    #3472
    Alexandre
    Participant

    Hi DiGMEH ,
    I managed to solve the problem. Follow these steps:

    First locate in the editor the topic: “style.ccs” for ediction.

    Locate these lines in PHP:

    @font-face {
    font-family: ‘Vegur’;
    src: url(‘fonts/vegur-light.eot’);
    src: url(‘fonts/vegur-light.eot?#iefix’) format(’embedded-opentype’),
    url(‘fonts/vegur-light.woff’) format(‘woff’),
    url(‘fonts/vegur-light.ttf’) format(‘truetype’),
    url(‘fonts/vegur-light.otf’) format(‘opentype’),
    url(‘fonts/vegur-light.svg#VegurLight’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: ‘Vegur’;
    src: url(‘fonts/vegur-bold.eot’);
    src: url(‘fonts/vegur-bold.eot?#iefix’) format(’embedded-opentype’),
    url(‘fonts/vegur-bold.woff’) format(‘woff’),
    url(‘fonts/vegur-bold.ttf’) format(‘truetype’),
    url(‘fonts/vegur-bold.otf’) format(‘opentype’),
    url(‘fonts/vegur-bold.svg#VegurBold’) format(‘svg’);
    font-weight: bold;
    font-style: normal;
    }

    body {
    background:#FFF;
    color:#000;
    font-family: “Vegur”, sans-serif;
    font-size:16px;
    line-height:18px;

    After that, replace it with this sequence:

    @font-face {
    font-family: ‘Arial’;
    src: url(‘fonts/arial-light.eot’);
    src: url(‘fonts/arial-light.eot?#iefix’) format(’embedded-opentype’),
    url(‘fonts/arial-light.woff’) format(‘woff’),
    url(‘fonts/arial-light.ttf’) format(‘truetype’),
    url(‘fonts/arial-light.otf’) format(‘opentype’),
    url(‘fonts/arial-light.svg#VegurLight’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: ‘Arial’;
    src: url(‘fonts/arial-bold.eot’);
    src: url(‘fonts/arial-bold.eot?#iefix’) format(’embedded-opentype’),
    url(‘fonts/arial-bold.woff’) format(‘woff’),
    url(‘fonts/arial-bold.ttf’) format(‘truetype’),
    url(‘fonts/arial-bold.otf’) format(‘opentype’),
    url(‘fonts/arial-bold.svg#VegurBold’) format(‘svg’);
    font-weight: bold;
    font-style: normal;
    }

    body {
    background:#FFF;
    color:#000;
    font-family: “Arial”, sans-serif;
    font-size:16px;
    line-height:18px;

    With this you solve the problem!

    Hug from Brazil to you!

    Alexandre

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.