Forum Moderators: open

Message Too Old, No Replies

Newbie Needs Help! wp plugin html code help needed.

coding html css wp plugin

         

917marketing

5:50 am on Aug 18, 2010 (gmt 0)

10+ Year Member



Hello,

I am running another wordpress classified plugin on my site. The plugin formats the photos vertical and to the left of the main page with description aside it,
like so...

photo1 - description

photo2 - description

photo3 - description

I want it to show horizontally, say 3-6 across (if it fits)
with the partial description below it, aligned with the photo.
like so...

photo1 - photo2 - photo3
descrip descript descript

the folks at awpcp forum said I should look at this HTML
and change it to how I want, yet I have no clue
what control the formating.

this is the code they said to look at...




<div id="$awpcpdisplayaditems"><div style="width:$imgblockwidth;padding:5px;float:left;margin-right:20px;">$awpcp_image_name_srccode</div><div style="width:50%;padding:5px;float:left;"><h4>$ad_title</h4> $addetailssummary...</div><div style="padding:5px;float:left;"> $awpcpadpostdate $awpcp_city_display $awpcp_state_display $awpcp_display_adviews $awpcp_display_price </div><div class="fixfloat"></div></div><div class="fixfloat"></div>







can you guys take a look at it, and give me
some pointers?

Major_Payne

11:32 pm on Aug 23, 2010 (gmt 0)



You need to find the CSS that has this selector name that style the first div:

id="$awpcpdisplayaditems"

The other divs have styling which is being set by PHP I believe. This is the only one that currently makes sense:

<div style="width:50%;padding:5px;float:left;">


If you need to widen it, the increase the "50%" part. I think the one you really need to look for is what is controlling the first div with the id="$awpcpdisplayaditems" as it may have a width you need to increase.

Sorry if this isn't much help.