![]() |
![]() |
17 Dec 2007
Posts: 3
I installed jojo last week, and am very impressed with the cms's overall approach. Though i find lots of inconsistent documentation, i think jojo is going to make it big once these issues are addressed.
Here is my issue with CSS files. I read the docs on how jojo adds up all the styles required in a styles.css file.
I have installed jojo in the first recommended method. ie.
/jojo/
/mysite/
/www/
.. and have a css file inside an installed theme in the following location
/mysite/theme/theme_name/css/style.css
Contents of this never reflect when i access the website, surprisingly the css contents seems to be ignored.
It reflects if i paste it in the design css box (admin), but it fails saving such huge lines of css. Jojo saves only, if the length is half this.
How do i get my entire styles to be 'read'
Cheers
The CSS box in options is a VARCHAR(255) field, and will only take 255 characters. But no reason why we can't make this a TEXT type instead - I'll look into this.
It sounds like you are on the right track with the CSS, though it's /themes/ not /theme/ (assume this is a spelling mistake).
Firstly, see if the CSS file is being ignored, or just one specific style. It's most likely the file is being read, but the style you are trying to apply is being overridden by another style in one of the plugins. If you look at domain.com/css/styles.css you should be able to see the contents of your theme's style.css riht at the bottom. If this is the case, the file is being read properly but your styles are clashing with other styles.
The theme does need to be installed - and only one theme can be installed at any given time, so m ake sure the CSS file is in the active theme.
Also, you will need to do a full refresh of the page to view CSS pages (CSS is cached for performance) so make sure you have pressed CTRL-F5.
Sorry if these answers seem obvious. If the problem isn't one of these, please let us know the URL of the site and what specific styles you are trying to make appear.
Thanks,
Harvey.
17 Dec 2007
Posts: 3
Yes, first few lines of the CSS read into the end of styles.css, yea, as you suggested, i guess its a css clash between styles.
The website is password protected until the launch. Is there a way to show a coming soon page by default, (i tried setting up an default.htm, but index.php overrides it) i can take the password off and send you the link if there is a way to do this.
Cheers
There are 4 things you need to change when moving Jojo from one place to another...
- The rewritebase line in .htaccess
- The SITEURL option in the database (edit the options table directly)
- The webroot directory setting in config.php
- And move the 3 files in the webroot. The Mysite folder shouldn't need to move.
Also, I'd recommend grabbing the latest dev copy of Jojo from snaps.jojocms.org - a lot of fixes and tweaks gone in there over the last week, so worth upgrading from Alpha3.
Cheers,
Harvey.
18 Dec 2007
Posts: 3
i am trying to move the files and change setting manually, i am afraid this wouldn't lead to a problem. I realised that the css from themes/[themename]/css/style.css is completely ignored. I have manually checked for css definition clash, seems there are none..
Any advice?
Cheers
Could you please let us know the site URL and the styles that aren't sticking? I think we will get further with this knowing the specifics.
Either here or via the contact form if you want to keep things private.
Thanks,
Harvey.
I`m new using jojo, quite impressive but when i customize the themes, is always return the default theme (refresh skin) is not 100% refresh.
then
i have modify customly all the CSS and TPL in every folder that contain CSS files.. but result the same even damage.
my struggle continue, i try to remove all the content of refresh skin in (jojo/themes/refresh) and I pasted other default themes(churchSite2) into the refresh folder, and other folder that contain that name.. but cannot too..
can u advise, ho to do modification jojo`s themes.
Sounds like it's still using the cached files. Try forcing a refresh while looking at the public site. Eg CTRL+F5 (most browsers) or SHIFT+F5 (Chrome on Linux).
If that still doesn't work, you can try deleting the [mysite]/cache folder and running setup
Back to Forum Index : Back to Themes Support |
![]() |