Custom css style - my own styles

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Wed Jun 20, 2012 5:43 pm
Hi. :)

I have made two css style in my own "custom.css" file and pasted the same css style in the "joomla.css" and "template.css". (Is it necessary to paste this code in all of those 3 css files? In other templates I just paste this in the template.css and my own custom.css file).
Here is my test style:
Code: Select all
table.minTable {
   background: #ce03fa;
   font: normal 15px/32px;
   padding: 5px 10px;
   color: #fff;
   width: 400px;
   border-style:solid;
   border-width:5px;
   border-color:#090;
}
.b-bilderamme {
   border: 1px solid #000000;
}


I have then pointed to this "custom.css" file in the TinyMCE plugin (Custom CSS classes).
Those styles show up in the dropdown under "Styles" in the editor (see attachment "styles.jpg") but not in the table editor (see attachment "table-editor.jpg").
In other templates I have the styles showing up also in the "class" dropdown menu, but not in the "gk_appsite" template.
How can I get them showing up in the table editor window?

Kind Regards
Tom Løkka
User avatar
Junior Boarder

GK User
Thu Jun 21, 2012 8:15 am
Please check created file permissions maybe this is the problem. My advise is to use override.css file if you don't have any custom styling right now there.
User avatar
Platinum Boarder

GK User
Thu Jun 21, 2012 6:51 pm
Hi and thanks for answering bkrztuk :)

The file permissions are 777 at the moment (the Site is localy on my Mac).

I deleted my css code from the template.css, joomla.css and in my own custom file ("custom.css") and then pasted this code in the override.css file. The style/formating is working OK at the frontend, but it does not give me the class names in the table editor window in the backend.
Should they do so when using override.css option?

And I was wrong when I was saying that "in other templates I have the styles showing up in the "class" dropdown menu, but not in the "gk_appsite" template".
I tested a another Site where the class names shows up in the table editor window and then installed the "gk_appsite" template on that Site, and the class/style names show up in the table editor window even if I now use the "gk_appsite" template.
Is it something wrong with the Joomla files somewhere?

I have the same problem with the installation of the gk_appsite_quickstart package. I can´t get the class/style names show up in the table editor window, and it is not possible to mark a table and then click on "Insert/Edit table". It dont open the marked table, I just get the option to make a new table.

Tom
User avatar
Junior Boarder

GK User
Fri Jun 22, 2012 7:41 am
I am not sure what was the solution, but after trying things back and forth with different css files, the "class" dropdown menu in the TinyMCE editor now works. :unsure:

For now, I consider this topic solved :)

Thanks
Tom
User avatar
Junior Boarder


cron