V
V
Vladimir Mazepa2015-11-20 15:55:49
css
Vladimir Mazepa, 2015-11-20 15:55:49

Why are Joomla 2.5 CMS styles not being applied?

Hello! For some reason, we urgently need to "pull" the layout on the joomla 2.5 engine, armed with documentation ... got to work. In general, everything is clear and it seems that there should be nothing complicated. But then I ran into a problem - styles are not applied, I connected it like this -

<link rel="styleshet" href="<?php echo $this->baseurl ?>/templates/digma<?php $this->template; ?>/css/template.css" type="text/css">

After loading the page, I check ( ctrl + U ) whether it has loaded, everything is ok, I click - the style is available\readable.
I'm doing a little in a hurry and maybe \ most likely missed something?
Add:
code in Index.php
<?php
defined('_JEXEC') or die;
?>
<!DOCTYPE html>
<html>
<head>
<jdoc:include type="head" />
<link rel="styleshet" href="<?php echo $this->baseurl ?>/templates/digma<?php $this->template; ?>/css/template.css" type="text/css">
</head>
<body>
<div class="test">
<p>testtesttest</p>
</div>
</body>
</html>

In template.css I write
.test p {
display: none;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
whitysolo, 2015-11-20
@fantom4ik

Give a link. It may overlap with other styles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question