Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #479562

    Hi,

    I’m trying to change the Magazine content element date to normal case. I understand the css to edit is in enfold/css/shortcodes.css
    .av-magazine-time, .av-magazine-author, .av-magazine-text-sep{font-size: 12px; text-transform: uppercase;}

    I understand I can override the style in enfold/css/custom.css

    I’m wondering is there a way to do it without editing the parent theme? I’m using a child theme. I’ve tried to override the style in enfold-child/style.css, enfold-child/css/custom.css and enfold-child/css/shortcodes.css but all to no avail.

    Thanks!

    • This topic was modified 9 years, 4 months ago by senso.
    #479584

    Hi senso ;
    in order to have the time text on “normal case” (April 21, 2014) instead of (APRIL 21, 2014)
    add this line into your child theme style.css file :

    .av-magazine-time {text-transform: none !important;}
    
    #479590

    Hey!

    Please refer to @begrafiks’ post above.

    @begrafiks
    Thanks as always :)

    Best regards,
    Yigit

    #479672

    Hi berafiks and Yigit,

    Thanks and it does work. However, is there a way to not use the !important? Is there a way to make css/custom.css works in child theme?

    #479678

    Hey!

    You can try adding the code as following

    <code.av-magazine-time {text-transform: none; }

    simply without !important rule. You can use Style.css file of your child theme to add your custom CSS code.

    Best regards,
    Yigit

    #488077

    Works! Thanks begrafiks and Yigit,

    #488179

    Hey,

    Great, glad you got it fixed :-)

    Cheers!
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘AV Magazine – Change date to normal case’ is closed to new replies.