Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Weebly CSS: Pain in the ass?

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #237600
    artymcfarty1
    Participant

    I am currently trying to code my blog. I can’t seem to get the title to center vertically and horizontally. I used firefox’s inspect element and found this:

    .blog-post .blog-header, .blog-post .blog-header h2.blog-title, .blog-post .blog-header div a {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    line-height: 1.5 !important;
    }

    If I uncheck them in the inspect element, my code works great. Thing is I can’t find it anywhere in my css to delete it….

    http://www.dedeko.me

    #237606
    Shikkediel
    Participant

    Looks good to me. If not yet fixed, please further describe the issue. I’ve played a lot of FF on PS2 by the way, probably five times all the way through. Great game.

    #237631
    artymcfarty1
    Participant

    I was wanting more padding around the top and bottom of the blog title. But it doesn’t work. The !important css tidbits mentioned above are preventing the edits I want. :(

    Here are screenshots as an example:
    http://i66.tinypic.com/350qlwy.jpg
    http://i65.tinypic.com/2uxzot0.jpg

    It gets even weirder. In the weebly editor preview, it looks like the “checked” image, but when you edit the post (or go to post a new entry), the title area looks like the “unchecked” version.

    http://i63.tinypic.com/w8upmd.jpg
    http://i63.tinypic.com/xkww0j.jpg

    WTB an “!importanter” element, LMAO

    #237658
    Shikkediel
    Participant

    Not sure I completely get it but there are two stylesheets at play here, sites.css and main_style.css

    Link to aforementioned

    You’re right about the title, CMSes are often a pain to figure out.

    #237665
    Atelierbram
    Participant

    You’re right about the title, CMSes are often a pain to figure out.

    Last time I checked Weebly out, it seemed more of a page-builder to me, spitting out a whole bunch of (needless) javascript; not really a CMS to take seriously. From their own website:

    Weebly’s drag and drop website builder makes it easy to create a powerful, professional website without any technical skills.

    Until the client wants to change something in a theme without knowing too much about HTML and CSS that is.

    #237671
    Shikkediel
    Participant

    You’re right of course, they’re hardly the same thing. The second stylesheet should be accessible through the control panel, as described here :

    Link

    #237673
    artymcfarty1
    Participant

    Well, yea, the main-style.css is my css. It’s how I’ve been editing everything. It’s the sites.css that’s messing things up I guess.

    Also, is it possible to link a webfont in a div style?

    Ex:
    <div style=""></div>

    The reason why is complicated, like this whole custom Weebly theme thing. I have an “embed code” widget, but it wont pull in the font-family?

    #237676
    artymcfarty1
    Participant

    Never mind, I think I just “fixed” everything. ALL THE THINGS.

    Thanks guys.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.