• Resolved hamrah5

    (@hamrah5)


    Hello Dear Supporter and thank you so much in advance!
    i want to change the font of whole website, so i make a folder inside the theme folder for “fonts”
    Now i’m facing with 2 question

    1.The code doesn’t work within “Additional CSS” and it must be in “rtl.css”
    so with every update i have to add it again…

    here’s my code :

    @font-face {
    	font-family: 'Vazir';
    	src: url('fonts/Vazir.eot?#') format('eot'),
    	url('fonts/Vazir.woff') format('woff'), 
    	url('fonts/Vazir.woff2') format('woff2'),
    	url('fonts/Vazir.ttf') format('truetype');
    }
    body,h1,h2,h3,h4,h5,h6,p,a{
    font-family:Vazir;
    }
    @font-face {
    	font-family: 'Vazir-FD';
    	src: url('fonts/Vazir-FD.eot?#') format('eot'),
    	url('fonts/Vazir-FD.woff') format('woff'), 
    	url('fonts/Vazir-FD.woff2') format('woff2'),
    	url('fonts/Vazir-FD.ttf') format('truetype');
    }
    body,h1,h2,h3,h4,h5,h6,p,a{
    font-family:Vazir-FD;
    }

    can you please guide me what to do?
    so that i don’t need to be worried about updates

    2.i create the “fonts” folder within the “theme” folder, so again i face with disappearance after every update.
    i tried to address location in the right way,… but it seems like it HAVE TO be inside theme folder

    thank you so much in advance for your time and patient
    colormag is perfect, and YOU supporter guys Are the BEST <3

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @hamrah5,

    Can you please activate the child theme and add code in a file inside the child theme? You can get knowledge about the child theme and download the ColorMag child theme from the link below.

    https://themegrill.com/blog/tutorial-creating-wordpress-child-theme/

    Thanks and Regards,
    Ankit

    Thread Starter hamrah5

    (@hamrah5)

    Dear @tgboy Hi, i read the article
    i’m looking for a solution, so that i can Update colormag without needing to make manual changes after update.
    As i understand, for example i need to copy “rtl.css” and paste it within child-theme and then add my extra code, so i can overwrite it, right?

    now, when there’s a new update coming, it can include some changes for “rtl.css” too, so i must manually do some of coding things again! (of course this time the appearance won’t be a mess, and this is greart)

    or is it okay to add just a piece of code in my “rtl.css” to be overwrite? should i copy all the code within parent theme?

    thank you so much in advance for all you help dear @tgboy <3

    Hi @hamrah5,

    If you activate the child theme and add code in a file inside the child theme, then the ColorMag theme will not be affected after an update. You can just add a piece of code in the file inside the child theme.

    Thanks and Regards,
    Ankit

    Thread Starter hamrah5

    (@hamrah5)

    I Love you Ankit
    Thank you so much
    <3 <3 <3
    <H1>I wish you all the best in the world<H1>

    Hi @hamrah5,

    Great to hear it worked for you, if you liked our theme and enjoying the support we would be thrilled if you drop a review. Your review would be an enormous help. And if you ever have a query please let us know.

    Thanks and Regards,
    Ankit

    Thread Starter hamrah5

    (@hamrah5)

    Dear Lovely Friend, i fell in love with colormag at first sight!
    so be sure that i did it before <3

    <3 <3 <3 <3

    Hi @hamrah5,

    Thank you so much. Please do let us know if you have any further queries regarding the theme.

    Thanks and Regards,
    Ankit

    Thread Starter hamrah5

    (@hamrah5)

    Hi @tgboy How you doing?
    i hope you’re be healthy and very well

    there’s a question for me,
    after this long time i finally did all the steps about child-theme, just the way explained in the article you sent

    when i tried to activate my child-theme, everything changed in my theme appearance
    seems like the child-theme is a absolute separated theme from it’s parent

    i appreciate if you help me, the way you always did
    thank you so much in advance

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘theme font doesn’t change with Additional Css’ is closed to new replies.