This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by Thorgan Thorgan 2 years, 11 months ago.

CSS text-transform

  • Post count: 7

    Hello,

    I have a problem I can not solve.
    I would like to have the first letter of the month of http://ma-boulangerie.essonne-web.fr/ateliers/ capitalized page but when I change the CSS to achieve this, all the names of workshops (like on the page http://ma-boulangerie.essonne-web.fr/atelier/atelier-tartes/) were capitalize every word.
    I enclose a screenshot more telling than my French translated on Google.
    I tried to add a class to edit CSS independently but it does not work. I have made a mistake but I do not know where.
    Can you help me ?
    Thank you.

    Didier

    Attachments:
    You must be logged in to view attached files.
    Thorgan
    Post count: 4526

    hi sorry for the late reply i was away at the weekend.

    to only change the month first word you can try to add this to your custom css

    .post-type-archive-tribe_events #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next a, #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous a {
        text-transform: capitalize;
    }
    
    .post-type-archive-tribe_events #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next a, #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous a {
        text-transform: capitalize;
    }
    Post count: 7

    Hi Thorgan,

    On page: http://ma-boulangerie.essonne-web.fr/ateliers/ it works and I arrived to set the month with a capital letter.

    The problem is that by modifying the CSS for the initial month’s capital, on the http://ma-boulangerie.essonne-web.fr/atelier/atelier-chocolat/ page and all pages of the workshops, the .tribe-events-nav-previous class to the left to capitalization to every word (See screenshot).

    I’m sorry, I tried several modifications without success.

    Thank you for your help.

    Didier

    Attachments:
    You must be logged in to view attached files.
    Thorgan
    Post count: 4526

    hi please add this one

    .single-tribe_events #tribe-events-footer .tribe-events-sub-nav  a {
    text-transform: initial;
    }
    Post count: 7

    Hi,
    Thanks for your help.
    Didier

    Thorgan
    Post count: 4526

    glad i could help. have a great day!

The forum ‘Liesel’ is closed to new topics and replies.