photo

wesley shuttes

shared this question
6 years ago

Statistics

7
Comments
453
Views

Relates to

Share

1
votes

unable to align or format listing_agent_field

How do I change the style for the listing_agent_field (phone/email etc)?

I have stripped the css completely but for some reason it still aligns centre.

website is www.propertypro.co.za. select anu listing and you will see th agents details not aligned.

Add Comment

Comments (7)

photo
0

I think if u go to your listing template file, and see that the listing_agent_field info is in a

<td>

make sure it says

<td align="left">

photo
1

believe it or not I am still struggling with this. I have gone through all the css files and alignment settings and just cant figure it out.

it must be set somewhere in the config files.

Any ideas?

photo
1

At your stylesheet "style_main.css", line 701 you have:

.field_caption{float:left;text-align:left;padding-left:2px;padding-top:2px;font-size:8pt;font-weight:700;width:42%;}

Delete the width setting.

Also very important!!! Your site template should NOT be named "lazuli". While upgrading Open-Realty, ALL your custom files are going to be rewritten.

photo
1

Thanks for the help. I have done that and it has aligned everything to the left. which is great however there is still a big space between the caption and the element now.

where is that set? in field_caption or field_element. and if so what should I change cuase I have played around with it but it doesn't move.

photo
1

You are loading a second stylesheet (you should not!): style_default.css (I guess it is placed at the "default" folder) with exactly the same as the one I posted earlier. Remove the width setting from there - even better, don't load that stylesheet!

Again: copy and rename "lazuli" folder! You will loose all custom files while upgrading.

photo
1

thank you. will give it a try.

I saw your comment about lazuli folder. will do so. thanks

photo
1

thanks for your help. That fixed it.

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 20M