WordPress.org

Ready to get started?Download WordPress

Forums

oik
[resolved] Can I/should I change the oik.css file? (3 posts)

  1. bobbingwide
    Member
    Plugin Author

    Posted 2 years ago #

    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?

    http://wordpress.org/extend/plugins/oik/

  2. Samuel B
    moderator
    Posted 2 years ago #

  3. bobbingwide
    Member
    Plugin Author

    Posted 1 year ago #

    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 http://www.bobbingwidewebdesign.co.uk/oik_presentation/why-use-shortcodes/better-by-far/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags