1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS changes not reflecting on my Blog, What to do?

Discussion in 'HTML & Website Design' started by Vineet Gupta, Jul 13, 2015.

  1. #1
    I have added a Lead Capture form (7 Great Lies Of Network Marketing) on my blog - www.vineetgupta.net

    The HTML that I copied & pasted in Text Widget is coming up in the Sidebar.

    But its formatting/ CSS is not showing up. What could be the reason?

    (I have tried it in localhost, its working fine there, with the same theme.)
     
    Vineet Gupta, Jul 13, 2015 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #2
    I tried to find the id of one of the input fields (id="mce-FNAME") in any of your .css files and it's nowhere to be found.
     
    qwikad.com, Jul 13, 2015 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Since you provide no information on how you want it to look (an image or similar from your local page), it's not really possible to say - but I can tell you that there are no CSS rules showing up on the page you linked for that particular form, so I'm gonna go out on a limb here and guess that you either didn't upload the CSS for the form, or you didn't link the CSS-file (if it's a separate file)
     
    PoPSiCLe, Jul 13, 2015 IP
  4. Vineet Gupta

    Vineet Gupta Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    I followed the instructions from
     
    Vineet Gupta, Jul 13, 2015 IP
  5. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #5
    All you need to do is create your own styles for that widget and you won't have to depend on theirs. Ever.

    Create your own styles for id="mce-EMAIL", id="mce-FNAME" and id="mc-embedded-subscribe"
     
    qwikad.com, Jul 13, 2015 IP
  6. Vineet Gupta

    Vineet Gupta Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    But I have updated styles in CSS file of the theme, but I am clueless why its not showing up
     
    Vineet Gupta, Jul 13, 2015 IP
  7. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #7
    Could you copy what you've added to the style.css file here? And you have uploaded the file, yes? And you're not using some stupid cache plug in?
     
    PoPSiCLe, Jul 13, 2015 IP
  8. Vineet Gupta

    Vineet Gupta Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #8
    I am using W3 Total Cache Plugin

    Here's CSS Code:

    #optin1 {
    background: #393939 url(img/dark.png) repeat-x top;
    border: 3px solid #111;
    color: #fff;
    padding: 20px 15px;
    text-align: center;
    }
    #optin1 input {
    border: 1px solid #111;
    font-size: 15px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 0 2px 2px #111;
    -moz-box-shadow: 0 2px 2px #111;
    -webkit-box-shadow: 0 2px 2px #111
    }
    #optin1 input.email { background: #fff url(img/email.png) no-repeat 10px center; padding-left: 35px }
    #optin1 input.name { background: #fff url(img/name.png) no-repeat 10px center; padding-left: 35px }
    #optin1 input[type="submit"] {
    background: #960e17 url(img/red.png) repeat-x top;
    border: 1px solid #111;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 0;
    text-shadow: -1px -1px #3a060a;
    width: 100%
    }
    #optin1 input[type="submit"]:hover { color: #ffa5a5 }
     
    Vineet Gupta, Jul 13, 2015 IP
  9. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #9
    Those rules are NOT in ANY of your stylesheets on the page - reupload the CSS, perhaps, turn of the cache / run an update on the cache, and see if that helps. Also, when pasting code, please use the [ code ]-tags (without the spaces).
     
    PoPSiCLe, Jul 13, 2015 IP
  10. tomeek

    tomeek Well-Known Member

    Messages:
    688
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    128
    #10
    A good advice, when you testing site with Chrome use Incognito mode to make sure you don't load cached css files.
     
    tomeek, Aug 5, 2015 IP
  11. mascot

    mascot Active Member

    Messages:
    161
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #11
    Disable your cache plugins. Delete your Cache. There are web hosts which use their own internal cache so matter how many times you do changes, it will not reflect. Make some major change on your website page and you will notice web host cache getting refreshed.
     
    mascot, Aug 11, 2015 IP