Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Okay, it’s because you’re trying to use the actual (displayed) quotation marks, rather than the HTML entities. Substitute the relevant bits of navigation with:

    <?php previous_post_link('&laquo; %link') ?>
    <?php next_post_link('%link &raquo;') ?>

    Cool, so which worked?

    Yes, you’re right, in Firefox the following so-called text declaration is overriding div.storycontent p a img

    .storycontent a {
    	text-decoration: none;
    	border-bottom: 1px dashed #000000;
    }

    The only way to get around this is set the border for div.storycontent p a img to black, then assign a class to the link around the image, i.e. <a href="http://google.com/" class="link_class_name"> (with its own declaration, a.link_class_name {border-bottom: 1px dashed #ff00a5;})

    Do you really need the underline of text and images to be different colours? This, to me, would be more hassle than it’s worth, as you’d have to add the class to the image link every time you post, rather than relying on the cascading nature of CSS.

    Moreover, from an interface point of view, it’s also good that a website has a sense of ‘cohesion’: a user should easily be able to tell what is a link. All links using the same colour scheme is a good way to do this.

    Forum: Fixing WordPress
    In reply to: Reuse post ID
    Thread Starter jvchamary

    (@jvchamary)

    Sorry, I didn’t search thoroughly enough!
    http://wordpress.org/support/topic/118279
    http://wordpress.org/support/topic/145518

    So, unfortunately, the ID is set to auto increment in mySQL (not WordPress) for any (saved) post, regardless of whether it has been published.

    According to the latter link, there exists a ‘temp_ID’ key. Is there any way to keep a post set to temp_ID unless it is actually published (after which it would be ‘promoted’ to a proper ID)?

    It seems silly that users are somehow able to control the permalink content.

    Thanks!

    Within the div.storycontent p a img declaration.

    If that doesn’t work, try this…
    img, a img {border: none;}

    No problem.

    Can I ask another question… When I view the blog in Safari the linked circle now looks fine. When I view it in Firefox it has a black dashed underline and solid borders down the left and right. What’s going on?

    Weird! You’re right, it doesn’t show in either Opera or Safari (both Mac). IE (PC) displays the borders in purple, suggesting it results from a link. Try setting the left and right borders to none or 0 and see what happens.

    poppacket, I wouldn’t recommend defining a CSS class that has the same name as an HTML element.

    noncollective, not sure if you’ve seen this, but you can turn off the visual editor by default. The option is (illogically) under Users>Administrator>EditUser (tiny checkbox at the top of the page).

    manually give your image links a class=”img”

    Yuk… please don’t do that noncollective! The main point of CSS is that the styles are cascading. Most things that you input into the post content are wrapped with <p> elements.

    Delete the span around the image link, then use this…

    div.storycontent p a img {
    border-top: 1px dashed #ff00a5;
    border-bottom: 1px dashed #ff00a5;
    padding: 10px 0 0 0;
    }

    For poppacket to have hovering fun…

    div.storycontent p a:hover img {
    background-color: #ff00a5;
    }

    If you intend to post an image in every post, simply hit return after the image to start a new paragraph. You could also use float and margin so that it appear next to the text.

    Hope that helps!

    Thanks jv. There doesn’t seem to be a span element in my PHP template.

    Then the style must have been added to the actual post/Page (i.e. the_content). Look at it using the code view, under Admin/Manage.

    Should I include one?

    Only if you intend to include an image in every post!
    For what you’re aiming for here, maybe you should style ‘p a img’ instead? I would also recommend turning off the visual editor.

    In terms of general CSS advice, I’d suggest cutting down on DIVs and apply styles to standard HTML elements instead… much less code :p

    What does it say in the head of your site? Wikipedia uses
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    You are getting two underlines because your image is enclosed by two elements, ‘div.storycontent a’ (dashed pink) and a ‘span’ (solid blue). Looking at the source code, I see that the latter is styled within the HTML, not the style sheet.

    BTW, this is a CSS question, not WordPress. Perhaps the ‘span’ element is present in your PHP template?

    My internet connection is outrageously slow (0.25Mb) so I cannot upgrade to 2.3.2 via FTP. Installing 2.3.1 via Fantastico and cPanel works fine.

    With a new installation (no posts), is it possible to just replace the 16 files that have been changed without anything breaking? Will that make it effectively WordPress 2.3.2?

    Thanks in advance!

Viewing 11 replies - 1 through 11 (of 11 total)