CSS formatting data

5 posts by 2 authors in: Forums > CMS Builder
Last Post: September 28, 2013   (RSS)

I seem to be having a little trouble formating the data from my database when presenting it on my page. The page is formatted by a single CSS document which controls all my divs sizes and fonts etc

but I just cant seem to change the font for the displayed data. Ive somehow got the color right but the font face is being very stubborn. Ive been right through my CSS document and changed all references

of font to the required "Arial" but to no avail.

Am I missing something here in the way the data is handled ?

Hi Rewmer,

Is this data being displayed from a WYSIWYG editor field?

When I'm having trouble tracking down where an item is getting a certain CSS rule from, I use Chromes developer tools to track it down. If you right click on the some of the incorrectly formatted text in Chrome and then select inspect element, the developer tools will pop up. On the right hand side of the developer tools is a list of all of the CSS rules that apply to the current item, and any that are being overwritten will be crossed out. It will also show you which CSS file  the rule has come from.

Cheers!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Hi Andy, 

If it's just an upload field the CSS of the page shouldn't be affected, the only field that I can think of that might affect the CSS would be a WYSIWYG field. 

Cheers!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Greg - Legend !

Had a chance to have a look using the Chrome developer and found the problem straight away. Its now looking as it should.

Thanks very much for your help and the tip !

Andy