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 »

Make visual editor read atahualpa css in Add HTML/CSS Inserts


  #1  
Old Dec 12, 2015, 03:38 AM
DanDan
 
41 posts · Aug 2010
I built a site with very involved CSS, the client needs it to be editable in the visual editor but the visual editor does not see the css so it looks nothing like the page. I added the following to functions.php:

function my_theme_add_editor_styles() {
add_editor_style( 'custom-editor-style.css' );
}
add_action( 'init', 'my_theme_add_editor_styles' );

and then copied the css in Add HTML/CSS Inserts into a file and uploaded it. It works great except any changes I make in Add HTML/CSS Inserts must be then be added to the css file I made. Where is the css file located that is generated by the css in Add HTML/CSS Inserts? If I could link to this rather than the css file I created I would not need to update my css file every time I made a change to the Add HTML/CSS Inserts.

Thanks,

Dan
  #2  
Old Dec 12, 2015, 04:13 AM
juggledad's Avatar
juggledad
 
23,655 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Where is the css file located that is generated by the css in Add HTML/CSS Inserts?
It's not stored in a file, it's stored in the database in the wp-options table as part of the one row that stored ALL of the theme options.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 12, 2015, 01:56 PM
DanDan
 
41 posts · Aug 2010
In that case I will just need to update the css file whenever I make a change to the css.

thanks,

Dan

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
3.4.9 set the "HTML/CSS Inserts" back to wider editor darmanpurba@gmail.com New Versions, & Updating 3 May 16, 2010 04:26 AM
How to ad a font style to CSS Inserts? Will it show up in visual editor font pop up? treeplant Center area post/pages 5 Apr 5, 2010 07:48 AM
[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
Possible to make css/html inserts box bigger? BigG Atahualpa 3 Wordpress theme 2 Apr 28, 2009 12:07 PM


All times are GMT -6. The time now is 01:29 PM.


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