Forum Replies Created

Viewing 15 replies - 1 through 15 (of 87 total)
  • Forum: Fixing WordPress
    In reply to: Shortcode problem

    Glad to help. Just tick the ‘Mark this topic as resolved’ to close it off.

    ??

    Forum: Fixing WordPress
    In reply to: Shortcode problem

    The plugin is working but the styles are not, this is because the border is being created by the following CSS

    #content section #toggle-view li {
        background: #fff none repeat scroll 0 0;
        border: 4px solid #efefef;
        border-radius: 5px;
        cursor: pointer;
        list-style: outside none none;
        margin: 15px 0;
        padding: 8px 15px 8px 22px;
        position: relative;
    }

    however on the https://www.hovawart.in/pl/wystawa-w-bydgoszczy/ page, there is no ‘section’ so the style is not working. My suggestion would be to change the css as follows which should work.

    #toggle-view li {
        background: #fff none repeat scroll 0 0;
        border: 4px solid #efefef;
        border-radius: 5px;
        cursor: pointer;
        list-style: outside none none;
        margin: 15px 0;
        padding: 8px 15px 8px 22px;
        position: relative;
    }

    Try this to get the ‘Notify of’ larger

    #wpcomm .wpdiscuz-subscribe-form-intro {
        font-size: 18px !important;
    }

    Unfortunately, getting the placeholder text (new follow-up comments) larger is going to be much more difficult. This is because the plugin’s CSS file also uses !important on the font-size.

    Editing the plugin’s CSS directly is not really an option as it will get overwritten when you update.

    I hope I correctly understand what you’re after.

    Go to Settings > Reading

    Change Front Page Displays from ‘Your latest posts’ to ‘A static page’ and select the page you wish to use as your home page.

    The font size in the post is supposed to be 18px but it appears that your style is being overwritten by the wpdiscuz plugin’s stylesheet.

    The following is a bit of a hack, but it should solve the problem. Look in your themes styles.css file, look for the following

    input, select, textarea {
        background-color: #fff;
        border: 1px solid #ddd;
        color: #333;
        font-size: 1.8rem;
        font-weight: 300;
        padding: 16px;
        width: 100%;
    }

    on the font-size attribute line, add !important prior to the semicolon

    font-size: 1.8rem !important;

    Hope that helps.

    More information would be needed if anyone is going to be able to help you. Perhaps you could provide a link to your site and a description of where the problem is occurring?

    It appears to be 14px to me (checked using firebug)

    font-size 14px
    #wpcomm .wc-field-name input[type=”text”] 14px
    wpdiscu…r=3.2.6 (line 30)

    It may be that your site is caching the stylesheet, try ctrl/cmd + F5 and see if that helps.

    There are a number of plugins available to do this. I have set up one site running ‘User Access Manager’ to control content, along with ‘WP User Control’ to create a nice sidebar widget that people can log in with rather than going through the WordPress dashboard.

    This is of course just one solution and there are bound to be plenty of others.

    Without seeing the plugin working on your site I’m unable to help any further.

    I’ve had a look at the site and can see a value field in the cart, but this doesn’t appear to be the plugin you’re talking about. Where is the 0.00 value sitting?

    what is your site?

    have you already created the shortcode call in the header, if so, what is it outputting; is there any classes you can attach style calls to?

    If not, create a div to wrap the php call in your header file and target that. It doesn’t really matter where in the stylesheet you add the call, but I would suggest at the end of the file.

    If you’re using a downloaded theme any changes you make may get overwritten by updates so you should create a child theme. There are plenty of tutorials available on how to do that. If your theme has been developed specifically for your site this won’t matter.

    Open up the header.php file within your theme (wp-content/themes/THEMENAME/header.php

    Work out where you want the total sales to appear and paste <?php echo do_shortcode(“[shortcode]”); ?>

    Check your site to see if this is working correctly.

    If you then need to format you’ll need to see what the shortcode is outputting and create CSS to suit. the default location for CSS is in styles.css

    Does your theme allow for shortcode in the header?

    Many don’t so you’d need to modify the file that generates your header (most themes it’s header.php)and add in the php code where you want to add it.

    Formatting would be a matter of working out what the code outputs, then modify the stylesheet accordingly.

    NOTE: You will need a basic understanding of HTML and CSS to do this successfully.

    [wctss_total_sales]
    This is the normal way to use shortcode and can be included in the page or post editor and also in widgets (for example in a text widget to the sidebar)

    <?php echo do_shortcode(“[shortcode]”); ?>
    Use this method if you’re writing the code into the theme files.

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