• site: http://showmantell.com

    I’m trying to get the post date under the title, and the thumbnail over to the right side with this code:

    .tw-recent-posts .featured-post img {
    float: right;
    margin: -12% 10px 0 0;
    }
    .tw-recent-posts .post-time {
        text-align: left;
    }

    It doesn’t take effect on the page because it wont overwrite what was already on there for some reason? (I am doing this in a child theme)

    Much appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jakeeck

    (@jakeeck)

    bump, [please do not bump – http://codex.ww.wp.xz.cn/Forum_Welcome#No_Bumping ] this is actually happening to me with a few things.. the style.css won’t overwrite what’s already there in some cases.. what could be the issue?

    I can see the changes in your site – have you cleared the browser cache everytime after you edit the CSS, to get to see the changes immediately?

    press CTRL F5 or ‘reload’ the page a few times, or whatever your browser needs…

    Thread Starter Jakeeck

    (@jakeeck)

    it only worked because I put the code into the custom css editor built into my theme, I’m still curious as to why putting the code directly into my style css wasnt working.. you can see if you inspect element on the recent post dates and scroll down a bit in the css code there’s another section with “text-align: left’ but it is crossed out.

    it only worked because I put the code into the custom css editor built into my theme

    if the theme has a custom css section, then there is possibly a good reason for that.
    putting the css anywhere else might get overwritten with some stylesheets called after style.css (?) – in your case, the ‘text-align: right;’ formatting comes directly from the stylesheet of the plugin.

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

The topic ‘Question about recent posts widget’ is closed to new replies.