• Resolved Otta

    (@otta)


    Hello Richie,
    another question about your beautiful theme, thanks again.
    Maybe this answer could be usefull for other users.

    How can I move the inline css in an external file?

    I’d like to keep all functionality of your framework ( manage font family, color …) but I’d like to move all classes in a dynamic stylesheet.

    I think search engine would apreciated a clean code without inline css, hope you have a good solution.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Richie KS

    (@rkcorp)

    you can try using some css tool to optimize and compress the style.css

    Thread Starter Otta

    (@otta)

    Hi Richie,
    what I want to do is to have a clean code without inline style not to compress the style.css.

    I’d like to remove from the source code all classes for google+, twitter, h1, color of title, #main-navigation etc managed from the option page of your theme.

    As I’d like to keep the functionality of your theme I think there is some programming to do.

    Hope you understand what I mean.

    Thanks in advance.

    Theme Author Richie KS

    (@rkcorp)

    do you mean you do not want the ‘design setting’ in wp-admin->appereance->theme options?
    best way would be open lib/functions/option-functions.php and delete from line 217

    /* Design setting */
    —delete all code here—-
    /* posts setting */

    if you mean edit the style.css and remove css pseudo classes, there’s no easy way to do that.

    Theme Author Richie KS

    (@rkcorp)

    hi mark this as resolve, please re-open the thread if have issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Optimization, remove inline css’ is closed to new replies.