• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

integrate and change font properties with PHP

oates151

New Member
I'm using the software Comdev Newspublish 4.1.4. I'm having issues with integration. When I use:

PHP:
 include($path["docroot"]."newspublish/home.news.php");

it shows up as: www.surgefm.com/news.php

It seems to take some of the text properties from the settings I put together in dreamweaver. I have no clue how to edit the CSS for this - should I be looking to edit some sort of CSS file in the newspublish directory? Or can this be edited by adding some sort of <style> tag? I'm looking to change the hyperlink colors along with the font size.

Thanks guys,

-Pat
 
use define.

PHP:
<?php

define('DOC_ROOT', (__FILE__)'/');
include(DOC_ROOT. 'newspublish/home.news.php');

?>

also, you wouldn't edit the CSS since that is PHP. $path['docroot'] is a var set somewhere inside the PHP files on the script. the CSS to change the hyperlinks and sizes are easy, for the hrefs you use the a:hover etc vars in CSS, go onto W3C school's website to read on it, or just Google.
 
Last edited:
Back
Top