D-Mack Media Forums

Full Version: CSS Problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, so I first came here to see if anyone else had the same css page problems I was and how to fix them. To my surprise, no one else posted about this that I saw.

Well, I fixed my problem (after trolling my files for hours) and it was pretty simple once I found it and I thought I would post it here in case anyone else has this issue.

My page was coming up just black with that icky green type of the un-css'd page. well the problem with my (very) new 1.5.9 install was that this file:

/templates/system/component/php

was going to the system css instead of my template so I edited it to look like this:

Code:
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/*your template*/css/template_css.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template_css.css" type="text/css" />


and presto!

I think my problem is similar. I am upgrading a 1.0 Joomla! site to a 1.5. I downloaded the 2.0.3 version of RecommendFriends. The old site was using 1.80. In the 1.80 version of recommend friends, the recommend friends page fits within the article/user area of the main page when I select Open in Parent with navigation. It shows the side menus and template images, etc.
http://wholeworldpledge.org/gp/index.php...Itemid=100

In the new version of Joomla with the new Recommend Friends, it shows in a window with navigation but all the template information is lost.
http://wholeworldpledge.org/wwp/index.ph...Itemid=100

I checked the info in the components.php and it has the correct code:

<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />

<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>
</head>

Any ideas? Is this just the way the new version works or am I missing something?

Thank you very much for any replies! I am going to post this as a new subject also.
It was the case that for every style in the CSS, RH created an LI equivalent. The idea was that no matter what style you were using, if you clicked the bullet icon, nothing changed apart from the addition of the bullet.
HTML editors like Dreamweaver don't work that way. There you must define how you want lists to appear quite separately. That involves created list styles using classes.
RH8 has moved to that method. Create a "Normal" paragraph of text and in the style dropdown you will see Normal displayed. Now hit Enter and you will see "none" is displayed. Depending on the fonts in your CSS, you will probably also see a change in the font displayed in the list.
You have two options. Create <li> classes in your CSS where each class is fully defined or click the list icon and then select a style from the dropdown. That way the bullet icon applies the bullet point and the style selected affects the text. If you generate printed documentation the latter is needed as you cannot map list styles.
Reference URL's