- This topic is empty.
-
AuthorPosts
-
February 1, 2016 at 6:59 pm #237600
artymcfarty1
ParticipantI 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….
February 2, 2016 at 4:22 am #237606Shikkediel
ParticipantLooks 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.
February 2, 2016 at 5:23 pm #237631artymcfarty1
ParticipantI 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.jpgIt 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.jpgWTB an “!importanter” element, LMAO
February 3, 2016 at 7:12 am #237658Shikkediel
ParticipantNot sure I completely get it but there are two stylesheets at play here,
sites.css
andmain_style.css
…You’re right about the title, CMSes are often a pain to figure out.
February 3, 2016 at 10:47 am #237665Atelierbram
ParticipantYou’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
andCSS
that is.February 3, 2016 at 4:26 pm #237671Shikkediel
ParticipantYou’re right of course, they’re hardly the same thing. The second stylesheet should be accessible through the control panel, as described here :
February 3, 2016 at 5:50 pm #237673artymcfarty1
ParticipantWell, yea, the
main-style.css
is my css. It’s how I’ve been editing everything. It’s thesites.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?
February 3, 2016 at 6:47 pm #237676artymcfarty1
ParticipantNever mind, I think I just “fixed” everything. ALL THE THINGS.
Thanks guys.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.