Cloud9 Posted August 8, 2021 Share Posted August 8, 2021 We have a pages block in 4.3.6 with the following custom html code <div class="ipsLayout_right" class="ccsBase ccsBlock"> <h2>Forum Sponsors</h2> <table class='Forum Sponsors'> <tr><td align='center'>HEADING HERE</td></tr> <tr><td align='center'><a href="URL HERE" target="_blank" title="Click here to view ADVERT"> <img src="IMAGE URL HERE" ></a></td></tr> </table> This works fine in 4.3 - yet when we do a trial upgrade to 4.6.x the formatting is wrong (centre) We did ask Invision, but outside their support so all help appreciated Link to comment Share on other sites More sharing options...
Nathan Explosion Posted August 8, 2021 Share Posted August 8, 2021 Show a before/after screenshot...based on the code, I would be expecting 'centre' somewhere. What did it look like? what does it look like now? Link to comment Share on other sites More sharing options...
Cloud9 Posted August 8, 2021 Author Share Posted August 8, 2021 Centered one is 4.3.x Link to comment Share on other sites More sharing options...
opentype Posted August 8, 2021 Share Posted August 8, 2021 Text styling is explained here: https://invisioncommunity.com/4guides/themes-and-customizations/css-framework/typography-r98/ Try adding the class “ipsType_center" as explained in the link. Cloud9 1 Link to comment Share on other sites More sharing options...
Cloud9 Posted August 8, 2021 Author Share Posted August 8, 2021 10 minutes ago, opentype said: Text styling is explained here: https://invisioncommunity.com/4guides/themes-and-customizations/css-framework/typography-r98/ Try adding the class “ipsType_center" as explained in the link. Thankyou, as im not into html/css programming, could you clarify in my code in post one how I add this and correct the wrong code ? Thankyou in advance Link to comment Share on other sites More sharing options...
Recommended Posts