Forums

Any way to clear all formattings and start a zone afresh ? (7 posts)

  1. sabinou
    Member
    Posted 2 years ago #

    Hello,

    The texts in my footer.php will be shown with two very different sizes, whether i'm on the homegepage (index.php) or in a blog post (single.php). The sizes of the texts in the footer are manually specified in my css, but it seems they're pre-influenced by something.

    It is killing me, I have checked the files scanned by my template in the process a dozen of times (single.php, index.php and comments.php), without finding where an odd piece of code was - most likely - badly closed.

    I hope there is an alternative...

    Please, do you know if there is an HTML or CSS way to remove ALL formattings, while keeping the DIV structure intact ?

    This way, I'd be certain the texts in my footer are exclusively affected by the CSS properties I set up for them in my stylesheet. And affected by nothing else.

    Thanks a lot if you can help :)

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    If you use Firefox, install the Web Developer Toolbar. It allows you to turn CSS off or on at will.

  3. sabinou
    Member
    Posted 2 years ago #

    Yeah, Esmi, and I'll ask my visitors to turn css off so that they enjoy a text only version of my blog, that is INDEED

  4. sabinou
    Member
    Posted 2 years ago #

    Yeah, Esmi, and I'll ask my visitors to turn css off so that they enjoy a text only version of my blog, that is INDEED a possibility. True.

    However, i'd really prefer, if that exists, another solution allowing to tell a browser to just stop taking into account previous formatting settings, and adopt instead, starting from zero, the new classes I'm going to request.

  5. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    What have your visitors got to do with it? And where did the text-only version of the site come from?

    I thought the problem was that you were trying to track down some CSS? The only thing that will affect your pages is your CSS and, in your specific case, your browser settings when you view the pages. Nothing else will influence the styling of the page elements.

  6. alchymyth
    The Sweeper
    Posted 2 years ago #

    there is no other way than meticulously going over every single piece of code, and finding and removing all bits of styling. look for 'style="xxxxxxxx"' in the html section of the php files. and then copy this information into your style.css if necessary.

  7. asechrest
    Member
    Posted 2 years ago #

    Esmi gave you the best option. Use Firefox and one of the addons that allows you to edit CSS in real-time.

    If you need additional help, post a link to your website and another explanation of the problem and either myself or someone here can track down your rogue CSS.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags