Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Make visual editor read atahualpa css in Add HTML/CSS Inserts (http://forum.bytesforall.com/showthread.php?t=23356)

DanDan Dec 12, 2015 04:38 AM

Make visual editor read atahualpa css in Add HTML/CSS Inserts
 
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

juggledad Dec 12, 2015 05:13 AM

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.

DanDan Dec 12, 2015 02:56 PM

In that case I will just need to update the css file whenever I make a change to the css.

thanks,

Dan


All times are GMT -6. The time now is 11:43 AM.

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