cuny-academic-commons / cac-featured-content

WordPress plugin for featuring BuddyPress or WordPress content in a widget
6 stars 1 forks source link

Widget not formatting correctly #5

Open broscottcho opened 11 years ago

broscottcho commented 11 years ago

I have 1.0.3 of this plugin on buddypress 1.7.1 and wordpress 3.5.1. Any content I try to feature it does show the content but breaks all the formatting of all the widgets. The featured content widget doesn't have a box or header and all the other widgets move to the bottom of the page.

Any ideas?

boonebgorges commented 11 years ago

Would you mind sharing the markup produced by the widget? (View Source, and then copy and paste the relevant section of HTML.) It could be that a tag is not being closed or something like that.

On 05/05/2013 01:00 PM, broscottcho wrote:

I have 1.0.3 of this plugin on buddypress 1.7.1 and wordpress 3.5.1. Any content I try to feature it does show the content but breaks all the formatting of all the widgets. The featured content widget doesn't have a box or header and all the other widgets move to the bottom of the page.

Any ideas?

— Reply to this email directly or view it on GitHub https://github.com/cuny-academic-commons/cac-featured-content/issues/5.

broscottcho commented 11 years ago

Here you go.

Edit: Ok so I don't know how to insert html code in a comment apparently.

<aside id="sidebar">
<div id="cac_featured_content_widget-2" class="widget widget_cac_featured_content_widget">
<h3 class='widgettitle'>Featured</h3>
<div class="cfcw-content">
  <img src="http://esodev2.dev/wp-content/uploads/group-avatars/30/9aa1da1e288d723e78c9e379f6377b35-bpfull.png" class="avatar group-30-avatar avatar-50 photo" width="50" height="50" alt="Avatar Image" />
<p class="cfcw-title">
    <a href="http://esodev2.dev/guilds/the-emeric-covenant/">The Emeric Covenant</a>
</p>

<p class="cfcw-description">Guild Name: The Emeric Covenant Guild Leader: Nathan Jensen ( TheEmericCovenant) Faction: Daggerfall Covenant (Breton, Redguard, Orc) Guild Focus: Friendly community, PVE, Crafting, PvPing, &amp; hardcore RP. Primary Location: US West (We [&hellip;]</p>

<p class="more">
Status: public | 1 Members    </p>
</div>
</div></div><!-- .widget /-->`
boonebgorges commented 11 years ago

fixed that for you :)

The markup looks valid to me (the opening 'sidebar' tag isn't really part of what this plugin generates, but the rest looks OK). So this must be a case of your CSS mismatching with other items on the page. Is your page public? Can you share a link?

broscottcho commented 11 years ago

Unfortunately it is on my local development system but as long as I know the plugin looks ok I will troubleshoot my css. Thanks for taking a peek at the html Boone!

boonebgorges commented 11 years ago

My pleasure. Please do let me know if you find that the problem comes back to something we could fix in the plugin!

On 05/05/2013 08:47 PM, broscottcho wrote:

Unfortunately it is on my local development system but as long as I know the plugin looks ok I will troubleshoot my css. Thanks for taking a peek at the html Boone!

— Reply to this email directly or view it on GitHub https://github.com/cuny-academic-commons/cac-featured-content/issues/5#issuecomment-17462591.