Sorry, I’m kinda confused on what you’re doing.
Are you just trying to change some CSS in the style.css file under the appearance > editor section?
Thread Starter
szoszk
(@szoszk)
Yes the style.css but via ftp
Is this a theme that you’ve created? Can you please provide a link to your site so we can examine it?
Thread Starter
szoszk
(@szoszk)
Yes it’s my own theme.
http://smart04.pro-linuxpl.com/e-magazyn/
If you want I can give you admin for the dashboard because I’m just developing a theme on this wordpress site
In your functions.php file, you are enqueing the stylesheet like this?
wp_enqueue_style( 'e-magazine-style', get_template_directory_uri() . '/style.css', array(), '4.2.3', 'all' );
Thread Starter
szoszk
(@szoszk)
No just like this:
wp_enqueue_style( 'e-magazine-style', get_stylesheet_uri() );
If I put the CSS file into the header.php manually from another server it works like it should.
So when you add the link to the CSS file in header.php, do you add this line:
<link rel='stylesheet' id='e-magazine-style-css' href='http://smart04.pro-linuxpl.com/e-magazyn/wp-content/themes/e-magazine/style.css?ver=4.2.3' type='text/css' media='all' />
Or do you call wp_enqueue_style()?
I think the version number, when you call wp_enqueue_style(), is going to default to 4.2.2 because that refers to the WordPress version. If you want to change it to some other number, you can add it as the fifth parameter as in my earlier post above.