Support » Fixing WordPress » Can I/should I change the oik.css file?

  • Resolved bobbingwide


    The oik.css file contains a number of definitions of classes for defining fixed width or min-height blocks, typography and so on. What do I need to do in order to apply overrides to these definitions? For example, when I use the [bw_address] shortcode the address is always prefixed by ‘work’. I’d rather that this text is not displayed. Can I change the CSS to display:none? I don’t believe I’m supposed to edit the file directly. What options do I have?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I raised this topic a long time ago as a prompt to myself to cover the questions of styling the output from the oik shortcodes. The simple answer is NO – don’t change oik.css. Use a custom CSS file – which you can create and maintain using oik functionality. Note: You should create a different custom CSS file per theme.

    It’s not necessary to use a child theme though I do recommend it especially if you generate themes using Artisteer.

    With regards the the [bw_address] shortcode there is now type parameter for the shortcode where you can define your own text.

    Hint: during site development you may want to use the [bw_editcss] shortcode to provide easy access to the custom CSS.

    You can see examples of bw_address and bw_editcss here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I/should I change the oik.css file?’ is closed to new replies.