Looking for help with Optimize Press

9 replies
  • WEB DESIGN
  • |

I've bought Optimize Press and I realize this is not an optimize press forum it is only because I've seen others here comment on the software before and so I'm hoping someone here can offer some help on this. Basically since OP essentially provides no support beyond the extensive video tutorial collection there really is no place to go for help or answers to other questions. Apparently they once had a user forum which probably would have been a tremendous help but it seems they have taken it down.
My specific question is; Is it possible to tweak or ad to the CSS files for the templates and if so where to do it?
#optimize #press
  • Profile picture of the author Tomos Wyn
    What I did when working on Optimizepress for a client was to leave the default css files alone. I created a new css file specifically for that project, and called it in the header.

    i.e. say the project is called makemoneyonline, I'd make a file called makemoneyonline.css in /wp-content/themes/OptimizePress/ and added this in the functions.php file:

    Code:
    add_action( 'wp_head', 'custom_mmo_stylesheet' );
    function custom_mmo_stylesheet() { ?>
    <link href="<?php echo get_bloginfo('template_directory'); ?>/makemoneyonline.css" rel="stylesheet" type="text/css">	
    <?php 
    }
    The reason why I use a function is because I didn't want to edit the header.php file, prefering to do any customizations in the functions.php file.

    Hope this makes sense.
    {{ DiscussionBoard.errors[6415792].message }}
    • Profile picture of the author ronc0011
      Originally Posted by Tomos Wyn View Post

      What I did when working on Optimizepress for a client was to leave the default css files alone. I created a new css file specifically for that project, and called it in the header.

      i.e. say the project is called makemoneyonline, I'd make a file called makemoneyonline.css in /wp-content/themes/OptimizePress/ and added this in the functions.php file:

      Code:
      add_action( 'wp_head', 'custom_mmo_stylesheet' );
      function custom_mmo_stylesheet() { ?>
      <link href="<?php echo get_bloginfo('template_directory'); ?>/makemoneyonline.css" rel="stylesheet" type="text/css">    
      <?php 
      }
       
       
       
      
      
      ?>
      The reason why I use a function is because I didn't want to edit the header.php file, prefering to do any customizations in the functions.php file.

      Hope this makes sense.



      I'll study on this for a bit it looks like exactly the sort of thing I need to do it'd just that I'm not really conversant with PHP.
      But thanks a lot for your reply .
      {{ DiscussionBoard.errors[6416061].message }}
  • Profile picture of the author Tomos Wyn
    Simply copy/paste that bit of code in your functions.php file and you should be sorted (I just updated the code in my post, of you do use it use my updated code).
    {{ DiscussionBoard.errors[6416195].message }}
    • Profile picture of the author listerdl
      PM me if you want - I have worked with OptimizePress for at least a year now non-stop and know the code very well.

      I can tweak any aspect - and can show examples too.

      OP is an awesome platform but IMO due to the CSS there are A LOT of redundant CSS selectors because of the amount of templates. Removing these classes speeds up the site.

      Also, I can tell you about the best CDN (content distribution network) you should use to yet further speed up OP.

      Also!! I am very good at making videos to blend into OP -

      All the best with it though!
      {{ DiscussionBoard.errors[6416905].message }}
  • Profile picture of the author stephaniek
    Ron C,

    There are two ways you can add CSS inside the WP admin interface, no having to modify any files.

    On the OptimizePress Options page, General tab, all teh way to the bottom there is a field where you can post your CSS overrides.

    On the individual pages, you can add it to the Custom CSS field toward the bottom, under Page SEO & Optimization Options.

    This is easier for speed but also updateability-- you don't have to go back and re-edit your functions file if you later update the theme.
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[6418096].message }}
  • Profile picture of the author ronc0011
    Once again the Warrior community proves itself invaluable. You guys are great and thank you all for your suggestions and help.
    {{ DiscussionBoard.errors[6420177].message }}
    • Profile picture of the author listerdl
      Optimize press is awesome - remember that almost everything can be customized.

      My comments about speeding up the site are not *really* necessary - I mean by removing redundant CSS selectors you save like 0.6 seconds so probably not a deal breaker. To see what I mean download a Firefox app called Dust-Me and it shows that OPress has a lot of CSS that is not used.

      Anyways - have a good one. Let me know if you need any other tips or advice with OP.
      {{ DiscussionBoard.errors[6420193].message }}
      • Profile picture of the author ronc0011
        Ok I have another question. where can I set custom images for bulleted list. I tried setting a custome CSS rule and spent some time pulling my hair out over the correct path for the image to use in the "background-image" attrabute.

        background-image: url("images/check.gif");



        Now I can feed that path to a <img src="path/check.gif" / > tag and it will show my image but my list continues to display an image of what looks like a hand drawn arrow. So I'm thinking this is getting overridden somewhere else.
        {{ DiscussionBoard.errors[6427879].message }}
        • Profile picture of the author listerdl
          Try this w/out quotes "!important;" after your CSS selector

          That should force the browser to show your image - or - simply replace the image that is being used - i.e. save over the existing image....
          {{ DiscussionBoard.errors[6521683].message }}

Trending Topics