External CSS file

Posted in: Newspaper
Post count: 67

Hi,

I couldn’t find on the tutorial or in the forum the way to keep an EXTERNAL css file, as I did with my previous theme (Atahualpa, extremely flexible). I do not want to keep my css code INSIDE the theme.
How and where can I tell Newspaper to use an external CSS file? (I have made a child Newspaper).

In my previous theme, I used the instruction:

<link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/themes/atahualpa_child/migueldimase.css” />

Thanks in advance

Post count: 20688

Hi,

The child theme provided with the theme includes by default a stylesheet and functions file. CSS code you enter in the child theme stylesheet will be loaded, no need to do anything else than activate the child theme
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Post count: 67

Yes, I know, but even having a child, I want to keep a css file outside the theme (migueldimase.css) because the edition is much faster, I can use my favorite editor (Notepadd++), etc. That’s why I asked you how can I do that?

Post count: 20688
Post count: 67

Thank you.

Post count: 67

Because it could be useful for someone else and as a kind of clausure, after reading all your references I want you to know that I choose to work with the child style.css file and Notepadd++, copying styles as needed from my “historic” migueldimase.css file, instead of queueing it (to prevent performance issues, etc.)

What I mainly wanted was to be able to use an external editor AND an insurance against the possibility that an upgrade or some malfunction stepped on my custom styles, using a file that “did not belong” to the theme.

Thanks again for your assistance, Simion.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.