• Resolved Testkid10133

    (@testkid10133)


    I love the plugin but have come across a slight problem!
    When I use css to target some attributes in my post titles your plugin seems to use that css too! :/
    for example, here is my post title:

    This is a post title <p class=”hide”>number one</p>

    Now I use css to hide the p class of hide, hence making it not appear within the actual post..

    .single .hide {
    display: none !important;
    }

    Can you please offer some help?? I need your plugin to somehow overwrite this css which I thought would be natural considering it is only targeting a specific css element i.e a single. I understand that if i change the font color to red it will be applied to the post titles within your plugin but hmmmmm…. Help??

    Thank you.. AGAIN 🙂

    http://wordpress.org/plugins/related-posts-by-zemanta/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey, no problem, glad I can be of any help! 🙂

    But the thing is, we don’t quite understand what you are trying to achieve. Where are you editing that post title and what exactly are you trying to hide?

    We’re really sorry for this confusion on our side and we are really happy to help you out, but in order to do so, we just need a bit more information. We appreciate it!

    Thanks & we’re looking forward to your reply!

    Best,
    Silvo

    Thread Starter Testkid10133

    (@testkid10133)

    Thanks for the reply!
    Ok, let me explain in some more detail.
    Ignore the plugin for just a second..

    I am setting up my site so my post titles have a line break after them followed by the name of the person who posted it (please, don’t ask)! So it would something like this:

    Blue Mountains And Green Hills
    Greg Chan

    And this works great for your plugin!

    Now this is where I think you get confused.. I want to style the author’s name so I add a class to it:

    Blue Mountains And Green Hills
    <p class=”authName”>Greg Chan</p>

    then I use css to change the font color:

    .authName {
    font-color: red;
    }

    which works great with my theme and your plugin. Now comes the ARGGHHH part! Right, so now i want to hide the authors names on ONLY the actual post page i.e on each ‘single’. (I only want to display the authors name on the category that I’m querying, and not the actual post once you click in to it)

    So now I target the authors name with css and hide it on ONLY the ‘single’/actual post once you click in to it:

    .single .authName {
    display: none !important;
    }

    Which works great for my theme! It hides the authors name on the ‘single’ once you click in to the post.

    HOWEVER!! Your plugin seems to also hide the authors name which I don’t want! I have been stuck on this for ages and would appreciate some help. Would I need to do something like:

    .related_post_title .authName {
    display: (No idea what css property to use??)
    }

    I hope this makes sense and would love your help.
    You should also consider making a really customizable version as a premium plugin!
    Thanks

    Hey, big, big thanks for the detailed description of what’s going on, but is there any way you could send us the link to a blogpost where this is happening?

    We’d love to take a closer look at it, since we’ll be able to help you much faster, if we would know what we are dealing with.

    Let me know if this is possible. Thanks!

    Best,
    Silvo

    Thread Starter Testkid10133

    (@testkid10133)

    I got it working thanks Silvo :).
    I had to be more specific with my css

    Hey, that’s great news, we’re really glad for you, really! 🙂

    If you have the chance & time to post your CSS code here for others with similar requests to see, that would be very much appreciated! If not, no sweat! 🙂

    Anyways — if you have any questions or if you stumble upon any problems (let’s hope not though!) in the future, do not hesitate to let me know! I’ll gladly help!

    Take care & have a nice day!

    Silvo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘silvoslaf please help!’ is closed to new replies.