Welcome, Guest
Please Login or Register.    Lost Password?

Adding css styles
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Adding css styles
#236
Adding css styles 4 Years, 6 Months ago Karma: 0
Hi,

Can anyone tell me how to add a new text style so that it will appear in the standard joomla editor under styles and headings?

Thanks!

John
johnmc
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#246
Re:Adding css styles 4 Years, 6 Months ago Karma: 12
I'm not sure I follow. Do you want to change the font in the content area? It'll be a simple css problem if thats what you're after. But I don't understand
so that it will appear in the standard joomla editor under styles and headings?
Bambi
Moderator
Posts: 343
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bambii7@msn.com Location: New Zealand Birthday: 12/21
The administrator has disabled public write access.
 
#250
Re:Adding css styles 4 Years, 6 Months ago Karma: 0
Bambi wrote:
I'm not sure I follow. Do you want to change the font in the content area? It'll be a simple css problem if thats what you're after. But I don't understand
so that it will appear in the standard joomla editor under styles and headings?


Hi Bambi,

The problem I was having was that when I added a new style to the css file it wasn't appearing in the drop down menu so my users culdn't apply them.

I solved it by creating a new css file and putting the following link to it in the index.php file

Code:

<link href="<? php echo $mosConfig_live_site;?>/templates/< ?php echo $mainframe->getTemplate();?>/css/ user_css_styles.css" rel=" stylesheet" media="screen"  type="text/css" />

Anything I add in the user_css_styles.css now appears in the drop down menu backend of the site. It took me a long time to work this out and I couldn't see it documented anywhere.

J
johnmc
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#253
Re:Adding css styles 4 Years, 6 Months ago Karma: 12
Yeah I was unawear this was posible. I've been applying styles manualy with the editors HTML view.

I'll have to give it a go :whistle:
Bambi
Moderator
Posts: 343
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bambii7@msn.com Location: New Zealand Birthday: 12/21
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear