1. Oliver
  2. Sherlock Holmes The Voice
  3. Commercial Templates
  4. Friday, 17 February 2017
  5.  Subscribe via email
Hello Ciaran,
I have a little problem on one of my projects. If I activate SEF urls in the configuration, a click on a menu item destroys my page.

I am working on a project where my source code in the header section of my page seems to cause this problems.

While I see on Scarlet demo page the css files are all referenced with a slash at the beginning I have no slash on my css files.

This is source code of my template:

<link href="templates/j51_scarlett/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/typo.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/jstuff.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/animate.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/vegas.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/hover.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/font-awesome.css" rel="stylesheet" type="text/css" />
<link href="templates/j51_scarlett/css/nexus.css" rel="stylesheet" type="text/css" />

and this is equivalent source code of the demo page:

<link href="/demo/0136/templates/j51_scarlett/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/typo.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/jstuff.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/animate.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/vegas.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/hover.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/font-awesome.css" rel="stylesheet" type="text/css" />
<link href="/demo/0136/templates/j51_scarlett/css/nexus.css" rel="stylesheet" type="text/css" />

Do you have an idea where I "lost" the first slash? :(
A hint in which files this is build would be nice.

I can send you an url by email if you need. The project is not public now and I am not allowed to publish it at this time.

Thanks in advance
Oliver
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Oliver

You will find the call for your CSS files near the beginning of your templates styles.php (../templates/j51_scarlett/php/styles.php).

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok