B
B
batraider2016-02-12 17:30:08
linux
batraider, 2016-02-12 17:30:08

css not working in local server 0_o?

In short, the essence is this, put LAMP on ubuntu all the cases, threw in the site template. When you try to change the styles in the style.css file or when you delete them, everything remains in place, but if you change the styles in the index.php itself, then everything works out. The same is true with style.css and index.html when simply viewing the document in a browser.
In general, the situation is such that on a local site, a site with all styles is visible, but it is IMPOSSIBLE to change them, specifically through a linked css file.
With what it can be connected 0_o?
Thanks in advance :)
The problem is solved, it turns out it's all because of the tag<base href="">

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Kirill Arutyunov, 2016-02-12
@DevartNigga

Check through the developer console whether the required stylesheet is loaded when the page is loaded.
Is the stylesheet in the same directory as index.php?

S
Stanislav Gorovoy, 2016-02-12
@Cnfc19932

Cache?

S
Sergey Goryachev, 2016-02-12
@webirus

I'm sure that the cant with the paths to the files)

M
Mikhail, 2016-02-12
Chirskiy @chirskiy_mixail

Are you sure you are changing that file?

but if you change the styles in the index.php itself
what does it mean to change in index.php itself? do you still have styles?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question