• Resolved bwilmeth

    (@bwilmeth)


    I am having trouble getting the custom css to work. I have unchecked “User Default CSS?” on the settings page. I copied the code on the styling page and pasted into a custom.css file. It tells me to put this file in:

    /nas/wp/www/cluster-XXX/myinstall/wp-content/themes/pinpoint/salesforce-wordpress-to-lead/custom.css

    The path in FileZilla shows as:

    /wp-content/themes/pinpoint/salesforce-wordpress-to-lead/custom.css

    I am assuming this is the same path.

    However, when I edit the CSS file, i.e. change colors/fonts. The don’t show up on page. What am I missing?

    https://wordpress.org/plugins/salesforce-wordpress-to-lead/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Yup, that’s the same path.

    Can’t really say without a link to look at.

    Thread Starter bwilmeth

    (@bwilmeth)

    I’m new to all this. What do you need a link to?

    Plugin Author Nick Ciske

    (@nickciske)

    Where I can see the issue (e.g. a form your site).

    Can’t troubleshoot what I can’t see.

    Thread Starter bwilmeth

    (@bwilmeth)

    Plugin Author Nick Ciske

    (@nickciske)

    First off, get rid of the <code></code> tag around your form (it probably came along when you copied and pasted the shortcode). That’s going to cause all kinds of formatting headaches.

    Secondly, custom.css is being included:
    <link rel="stylesheet" id="sfwp2lcsscustom-css" href="http://guardianrfid.staging.wpengine.com/wp-content/themes/pinpoint/salesforce-wordpress-to-lead/custom.css?ver=3.9" type="text/css" media="all">

    But you can’t save a CSS file in RTF format and expect it to work – CSS files need to be in plain text format.

    {
        \rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf190
        {
            \fonttbl\f0\fnil\fcharset0 Monaco;
            \f1\fmodern\fcharset0 Courier;
        }
    
        {
            \colortbl;
            \red255\green255\blue255;
            \red93\green108\blue125;
            \red242\green239\blue236;
            \red85\green138\blue3;
            \red135\green135\blue135;
            \red133\green0\blue67;
            \red148\green108\blue71;
        }
    ...

    Using a code editor is best:

    Windows
    http://notepad-plus-plus.org

    Mac
    http://www.barebones.com/products/textwrangler/

    Thread Starter bwilmeth

    (@bwilmeth)

    I’m used to complied code. I forgot you could see the website code from the browser. I also thought I had converted the .rtf file to .css. It is now working. Thank you for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom CSS’ is closed to new replies.