hrefs showing up in link text and other assorted problems

  • Unknown's avatar

    I’m having some strange behavior. I’m well versed in creating self-hosted WordPress sites, but not WordPress.com sites and am more than a little frustrated by what I’m experiencing.

    The most egregious is that the hrefs for the Blog Title and every other anchor on the page is showing up in the text space. This is causing many of the anchors to not work, but not all.

    The other thing is that when using the Custom CSS, the editor in addition to stripping the comments out (which is understandable) is rearranging certain rules which is proving to be disastrous. I am using the Sandbox theme and using the Blueprint CSS framework. The compress.rb tool is generating rules which I’m then consolidating into a local css file with my overrides at the bottom and then pasting the totality of rules into the CustomCSS field.

    The problem is that the reorganization is breaking the cascade forcing me to make my overrides way more specific or forcing me to wade through a huge swath of code generated code to figure out what to alter. And if I go that route, then every time I make changes to the blueprint settings, I have to go back through the edits to the generated code and make them again!!! And even then, once submitted, they get reorganized again!!!

    It’s supposed to be CUSTOM CSS!!!! I would imagine that means I the developer should have control over the cascade. Is this a bug, or a ‘feature’? If it’s a feature, may I request that it get turned off? Such behavior is incredibly intrusive and makes it difficult to implement CSS frameworks without breaking what makes them useful in the first place.

    I don’t mean to rant angrily, but I would already be done with this project if it were self hosted, but this silliness is running my client’s project over budget and overdue. The .com branch of WordPress is ‘supposed’ to be easier, no?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Are you referring to the blog linked to your username? If so it doesn’t appear to be a wordpress.COM free hosted blog. If not then please post the complete url for the blog to which you are referring starting with http://

  • Unknown's avatar

    http://secondcitytzivi.com (I have the custom domain upgrade, so it is a wordpress.com site)

  • Unknown's avatar

    It’s under construction, so pardon the mess. :)

  • Unknown's avatar

    Sorry for the bump, but… anyone? Still can’t figure it out. Could REALLY use some help.

    Thanks in advance.

  • Unknown's avatar

    First, and in my personal opinion, I think comments shouldn’t be stripped out… but oh well…

    the editor in addition to stripping the comments out (which is understandable) is rearranging certain rules which is proving to be disastrous.

    Would you please be more specific? If you mean that if you write this:

    body {
    margin: 0;
    padding: 0;
    }

    and it gets rearranged to this:

    body {
    padding: 0;
    margin: 0;
    }

    that shouldn’t really be of concern…. I like writing my properties alphabetically, but wp.com rearranges the order differently (which although it’s trivial, can be annoying) without affecting my layouts.

    The problem is that the reorganization is breaking the cascade forcing me to make my overrides way more specific or forcing me to wade through a huge swath of code generated code to figure out what to alter.

    again, if you can provide an example it could help us to give you a better answer.

    Also, I’ll modlook this thread, perhaps a staff member will be able to tell why the software rearranges things.

  • Unknown's avatar

    What’s happening is that I am pasting the output of compress.rb (a GREAT way of generating blueprint rules –this and other tools come with BlueprintCSS). I paste it’s code at the top, and then put my overrides below.

    So if I put in my override at the bottom of the CSS that I’m pasting into WordPress.com’s CSS editor:


    body {
    background: transparent url(files/2009/12/tzivi_bodybackground3.png) repeat-x;
    font-family: Georgia;
    }

    body a {
    color: #000;
    }

    #wrapper, #container {
    height: auto;
    margin-top: 47px;
    position: relative;
    }

    (….you get the idea),

    then once pasted, the editor will take my body tag, an include it in IT’s rules at the top of the css file like so:


    body {
    text-align:center;
    line-height:1.5;
    color:#000;
    font-size:10pt;
    background:transparent url('files/2009/12/tzivi_bodybackground3.png') repeat-x;
    font-family:Georgia;
    }

    Now, with the body tag it’s not such a big deal, but there are other overrides where because the way it gets re-arranged causes the override to not work because it is no longer sitting below the original rule in the CSS file. Hence, breaking the cascade.

    Not quite as custom as anticipated.

  • Unknown's avatar

    The real issue is not the CSS, that just annoyed the crap out of me. The REAL issue is the href’s showing up in the tag content. So my blog-title in the source reads:


    <h1 id="blog-title"><span>Second City Tzivi</span></h1>

    But when you view the page, it doesn’t display ‘Second City Tzivi’, it displays:

    Second City Tzivi (http://secondcitytzivi.com/) – which is undesireable, to say the least.

  • Unknown's avatar

    Well, regarding the CSS, having frameworks won’t work here… the software will just merge all properties and their values into their respective selectors’ definitions.

    Regarding the anchor tag, if you’re trying to override the default URL in your blog title, the software won’t allow it either. If you want people to be taken to another blog when they click on your blog title, then try using a text widget with the link to the blog you want them to go to, and position the layer on top of your header.

  • Unknown's avatar

    Thanks for the reply. If the product I’m buying is customCSS, then the CSS I put in should be the CSS that gets displayed. Otherwise it’s not really custom now is it??

    Snarkiness aside, insofar as the anchors go, I’m not TRYING to do anything with them. I literally filled out the fields in the blog title and description fields, the post fields, etc., and what I got is the ‘ANCHORTEXT(http://anchorlink.com)’ displaying all over the page.

    I would VERY MUCH like them to display normally. I assure you I am not trying to do anything particularly special here. There are no overrides or custom code that should be giving me what I’m seeing. At least, there are no rules I can identify which would even have the power to do this, leading me to believe it’s an issue with the install.

    I’ve tested in other browsers, and I’ve studied the html and CSS that the browser sees, and it’s all square. It’s just not displaying correctly.

    Thanks again for the reply. I really need to get this tied up quickly. We are having other problems with the site in terms of adding users. All the invitations for a user to join the client’s blog (including creating a user for the client herself) are instead getting invitations to create their own blog, not create a user account which would attach to an existing blog. I have already tried resending the invite when the intended user was logged out of any other accounts, as well as a few other recommendations dug up from other forum posts, but this is taking way to long to solve.

    I am a HUGE fan or wordpress as a platform, the downloadable package is a very elegant and sophisticated platform. That said, the hosted services have been wrought with inexplicable problems, which end up making very large support processes out of very small but significant problems/bugs.

    I would appreciate any assistance or ideas anyone has.

  • Unknown's avatar

    If the product I’m buying is customCSS, then the CSS I put in should be the CSS that gets displayed. Otherwise it’s not really custom now is it??

    Whoever wrote the parser might’ve thought that whoever wanted to write their own CSS would put all definitions in one selector block. To allow what you want, might as well allow the “@import” too. I’m just a volunteer and that’s just my opinion. To have a better answer, it’d be better for you to address this question to a staff member.

    Now, since you’re not trying to do anything with the anchor tags, then contact support. I too use Sandbox in one of my blogs and I’m not experiencing such problem. Maybe it’s an isolated problem.

    Contact

  • Unknown's avatar

    One further thing… When pasting a more than small block of CSS code into the field and submitting it, I get a silent error that results in the offer for me to download themes.php. My guess is that it’s a timeout error or max_post_size sort of thing. But poor error capture/messages makes it real hard to troubleshoot.

  • The topic ‘hrefs showing up in link text and other assorted problems’ is closed to new replies.