Okay
  Public Ticket #214200
What does <pre> mean and how to move CSS?
Closed

Comments

  •  1
    Peter started the conversation

    Hi Nectar. I know its not your job to teach me simple 101 css - however, I hope you can help me anyways. You provided me with some <pre> code which confused me a bit. Why do you use the <pre> tags sometimes, and sometimes not? 

    Also... on specific pages I inserted the custom CSS files. But now when updating your theme soon, all will be overwritten, wont it? 

    How do I place this into the common STYLE-file in my CSS child-theme?

    I.e. do I just have to mentiion the site infront of the code or??

    Thanks for your help again!

  •  1,086
    ThemeNectar replied

    Hey Peter!

    Pre tags are only used to display the css code I provide for you in a nicely formatted manner

     
    This is text in pre tags
    
    You should never keep that in your css if you copied it by accident - as it will make all css inside of it invalid. Actually all the css in those boxes will remain intact as it will be treated like any other content you have and is stored in the database rather than the theme itself.


    Cheers

  •  1
    Peter replied

    Hahahaha honestly Im so dumb...