Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

How to ad a font style to CSS Inserts? Will it show up in visual editor font pop up?


  #1  
Old Apr 4, 2010, 08:20 PM
treeplant
 
35 posts · Mar 2010
I want to add new font styles into the 'CSS inserts' so I can then use them in a page or post. Nothing I put in the 'CSS insert' shows up in the visual editor font drop down menu.

Can you explain this?

What would be the exact format, to make these two examples:

body text
Lucinda Grand
14 pix
bold, italic
color #FF8000

heading text
Times
18 pix
bold
color #FF0080

then put it in the 'CSS insets', and then have it available in the visual editor font pop up.

I just need some exact sample I can try out so that I can see how it works.

Thanks

Last edited by treeplant; Apr 4, 2010 at 08:27 PM. Reason: left out
  #2  
Old Apr 5, 2010, 06:47 AM
treeplant
 
35 posts · Mar 2010
Here's what I figured out so far. In CSS Inserts I entered:

v1 {
font-style: normal;
font-weight: normal;
color: #333333;
font-size: 1.1em;
font-family: verdana, sans-serif;
}

This gives me a Verdana 14 point style. Perfect.

I don't see this available in the Visual Drop Down menu.
Perhaps that's not possible?

So, In my page-post, in HTML editor I manually code:

<v1>text goes here</v1>

This works, but if I change the view back to 'Visual', the code disappears.
<h1>text goes here</h1> works ok, but not my replacement 'v1'
(This is probably that WordPress formatting bug that drives everyone crazy?)

Or perhaps I am doing something wrong?

I was able to put the <v1> & </v1> code into a 'Custom Field' with a reference to the
code as [HTML1] etc (using a plugin to do this)

This works, but it's a pain to do for every page-post

I would RATHER be able to make this:
v1 {
font-style: normal;
font-weight: normal;
color: #333333;
font-size: 1.1em;
font-family: verdana, sans-serif;
}

the default setting for page-posts text, but I don't know where to do that.
I've tried every ATA place I could find, and the only one that works also changes the widget
styles and post Title and other stuff that I don't want.

So

1. How do I make this the default

2. Am I doing the CSS Insert correctly?
Is there another way around the disappearing code in the Visual Editor?

3. Is it possible to get additional style to show in the Visual Editor?

Thanks,
Norm
  #3  
Old Apr 5, 2010, 07:30 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the visual editor is a WORDPRESS feature, and has nothing to do with the theme.

the fonts that are going to be available are the fonts that are installed on YOUR maching. This is why it is very important to use multiple FONT-FAMILY so if I don't have the first font you chose, I'll use the second (if I have that) the last should always be a websafe font

do a google search on 'css font-family'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Apr 5, 2010, 07:33 AM
treeplant
 
35 posts · Mar 2010
Yes I understand that. Verdana is on both Mac & PC. I can add fallback fonts.
That was just an example.
It doesn't matter what I enter, nothing shows up in the Drop Down menu.

But the questions really has nothing to do with that.
Any answers to the questions?

Thanks,
Norm
  #5  
Old Apr 5, 2010, 07:37 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
visual editor is a WORDPRESS component and the theme has nothing to do with it. You could post a question on wordpress.org
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Apr 5, 2010, 07:48 AM
treeplant
 
35 posts · Mar 2010
Will try that.
Thanks!

Bookmarks

Tags
font change, font color, font family, font size, visual editor

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Corruption: Visual Editor and Page Revisions vanish when clicking Update! asellon Atahualpa 3 Wordpress theme 33 Nov 23, 2012 02:33 PM
why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts krystyna New Versions, & Updating 3 Oct 28, 2010 12:22 PM
Visual Editor is not showing Mande Center area post/pages 4 Jan 29, 2010 11:51 PM
How do I change the font color of the post/pages font and the title font? GreenEyedMonst Center area post/pages 0 Jan 16, 2010 02:06 PM
[SOLVED] why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts ppat2 New Versions, & Updating 3 Jun 2, 2009 05:41 PM


All times are GMT -6. The time now is 08:33 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.