Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • Congthien, this is rather odd to read. If I buy the theme onepress-plus (which I have done) and install the plugin, I should be able to maintain my ability to use one stylesheet in my child-theme onepress-child. Your suggestion to just add styles in the Customize => Additional CSS is risky (potential loss when testing other themes) and redundant (already have a onepress-child stylesheet.

    What would be great is if you could tell us how to maintain one styles.css sheet we already have in our onepress-child directory that overrides any styles from the plus plugin. I see in my source file that this appears to be the case but, I cannot override things in the child css even if using !important.

    That being said, does the plugin styles.css replace the onepress (free version) styles.css? If so, can’t we just replace the free one with the plus version?

    Thanks, I’m a big fan of onepress!!

    • This reply was modified 7 years, 10 months ago by bizwizkid.
    • This reply was modified 7 years, 10 months ago by bizwizkid.
    • This reply was modified 7 years, 10 months ago by bizwizkid.
    Thread Starter bizwizkid

    (@bizwizkid)

    Er, my bad. My PrivacyBadger was blocking them. Thanks much.

    I’ve done several sites with child themes as well and need help too. I’m getting totally screwy results with onepress (a theme WHICH I LOVE).

    Any insight would be helpful.

    This just helped me cwrichardson.

    I was searching for such a solution. Rather than create a child theme manually I used the plugin ‘One-Click Child Theme’ which created a child theme editable from the WP dashboard. It created the functions.php, style.css, rtl.css and screenshot.png files.

    I couldn’t get the pancake menu to work and was losing the traditional menu when I shrank browser or accessed from my mobile.

    So, I modified the parent functions.php file this way so as to not get rid of the original code:

    //START REPLACEMENT BY JH 7/15/15:
    // Loads our main stylesheet.
    //wp_enqueue_style( ‘flat_responsive-style’, get_stylesheet_uri(), array(), current_time( ‘mysql’ ) );
    wp_enqueue_style( ‘flat_responsive-style’, get_template_directory_uri() . ‘/style.css’, array(‘flat_responsive-bootstrap’, ‘flat_responsive_font-awesome’,
    //END REPLACEMENT

    I then changed the child theme functions.php by doing this:

    // OLD CHILD THEME SECTION START
    // add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    // function theme_enqueue_styles() {
    // wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    // wp_enqueue_style( ‘child-style’,
    // get_stylesheet_directory_uri() . ‘/style.css’,
    // array(‘parent-style’)
    // );
    // }
    // OLD CHILD THEME SECTION END
    // REPLACE WITH THIS…

    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_register_style(‘child-style’, get_stylesheet_directory_uri()
    . ‘/style.css’, array(‘flat_responsive-style’));
    wp_enqueue_style(‘child-style’);
    }
    // END REPLACEMENT

    Yah, it’s not pretty but, it will help me later when I try to remember what I did (eg. modifying the parent functions.php).

    Thanks much!

    Column Shortcodes is a WP plugin. I’m having the same issue – not being able to use them within a CF7 form. Thanks!

    Thread Starter bizwizkid

    (@bizwizkid)

    .

    Thread Starter bizwizkid

    (@bizwizkid)

    Ok, I’ll give that a shot. Thank you Tobias. Your customer care is legend!

    Hi there. Did you end up coming up with a solution to create a full-width page? By that I mean one that would expand the full width of a browser no matter their resolution? I’m trying to expand the width and tested via custom css but, am worried I’m either going to create a lot of trouble or duplicate what you’ve already done. Thanks!

    Thread Starter bizwizkid

    (@bizwizkid)

    Ok gotcha. Thanks again for this plugin, great work!

    Thread Starter bizwizkid

    (@bizwizkid)

    Hi Meitar, thanks for your response and this plugin!

    To clarify I have a spreadsheet that has 30 cols and 1000 rows.

    On my web page I’m using the Inline viewer to view the entire sheet. What I’m looking to do is actually create a single web page with only data from a single row. The end result would be like a yelp page listing, that would let me call a single cell on the sheet to place wherever I want on the final web page. So, rather than a row of data I’m looking to create a template where I could call individual cells to populate.

    Thanks again!

    Thread Starter bizwizkid

    (@bizwizkid)

    Figured this one out pretty quick. I added this line to my template and now feature your buttons in my header:

    <?php echo do_shortcode(‘[simple-social-share]’) ;?>

    Thanks much!

    Thread Starter bizwizkid

    (@bizwizkid)

    The code I’m referring to above is here:

    function my_wpcf7_form_elements($html) {
    	function ov3rfly_replace_include_blank($name, $text, &$html) {
    		$matches = false;
    		preg_match('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $html, $matches);
    		if ($matches) {
    			$select = str_replace('<option value="">---</option>', '<option value="">' . $text . '</option>', $matches[0]);
    			$html = preg_replace('/<select name="' . $name . '"[^>]*>(.*)<\/select>/iU', $select, $html);
    		}
    	}
    	ov3rfly_replace_include_blank('menu-569', 'Choose language', $html);
    	ov3rfly_replace_include_blank('menu-614', 'Choose country', $html);
    	return $html;
    }
    add_filter('wpcf7_form_elements', 'my_wpcf7_form_elements');
    Thread Starter bizwizkid

    (@bizwizkid)

    Ok thanks Michael. I just emailed you.

    Thread Starter bizwizkid

    (@bizwizkid)

    Hi Michael, I should’ve mentioned that I did try the URL directly in the browser. All I get when I do that is a blank page in Chrome. I’ve tried with a few different CFDB forms as well, each with 1-5 records of data.

    Thanks!

    Regarding the webservice I entered the backoffice, went to Advanced Parameters, created a new key (generated on site), then enabled Web Services (Checking Yes to: Enable PrestaShop’s webservice).

    I tested the category 5 in the default catalog (v 1.5.6.1] and the total shortcode looks like this:

    [5 https://mydomain.com/storedirectory MYLONGKEYALLCAPS]
    [5 https://mydomain.com/storedirectory MYLONGKEYALLCAPS EN]
    [5 https://mydomain.com/storedirectory MYLONGKEYALLCAPS English]

    …and not having any luck with any of them. Also tried adding / after storedirectory/ as well as adding 05 vs. just the 5 for the category).

    I also tried the Active Mode for CGI and no luck.

    Thanks!

Viewing 15 replies - 1 through 15 (of 35 total)