How to change font size of Title under picture ? How to change font size of Title under picture ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to change font size of Title under picture ?

Started by cong, September 01, 2007, 10:25:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cong

hello

I searched forums for solve for this problem but i cant find
so I Make new topic

How to change font size of Title under pictures taken by cpmFetch   ?

and how to remove border around the pictures

and the general question about this matter how can i modify title size and font and pictures size in html coding ?

thank you in advance.

vuud

Quote from: cong on September 01, 2007, 10:25:01 AM
hello

I searched forums for solve for this problem but i cant find
so I Make new topic

How to change font size of Title under pictures taken by cpmFetch   ?

and how to remove border around the pictures

and the general question about this matter how can i modify title size and font and pictures size in html coding ?

thank you in advance.

You do all that through CSS, you can pass to cpmfetch what CSS class it should add to the stuff.

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

cong

sorry but i can't understand you

I opened all cpmfetch files but i cant find any codes i can modify like bordr = 0  or "font face" and "font size"

please mr vuud can you explaine what i should do to answer my question

Thank you very much for your great help


cong

I can't understand this mlsbv
can anybody explain it with  "find and replace method" it is very good method for beginners in coding.

thank you mlsbv

vuud

Quote from: cong on September 03, 2007, 04:51:40 PM
I can't understand this mlsbv
can anybody explain it with  "find and replace method" it is very good method for beginners in coding.

thank you mlsbv

You do not change the code.  You tell cpmfetch which CSS tags you want it to use, then in your web page you define the CSS information.

If you don't understand this, you need to read up on HTML and CSS first, otherwise you are stuck.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

cong

ok vuud

But as example I know that when I want to make border i change border="1" i make it border="0" when i want to hide border
<img src="http://sitename.com/picture_06.jpg" width="102" height="22" border="1">

but can you tell me how to do this example in cpmfetch and how to change $options to make border="0"

just explain hot to make no border and i will learn from it to solve others problems i want to know how to change lines


Thank you very much.

therightpic

cong,

try enclosing the CpmFetch code in a div or a table and change the font info or border info in that div or font code and see if that works.  It might not be the elegant way but it works. 

mlsbv

Quote from: cong on September 04, 2007, 06:17:16 AM
ok vuud

But as example I know that when I want to make border i change border="1" i make it border="0" when i want to hide border
<img src="http://sitename.com/picture_06.jpg" width="102" height="22" border="1">

but can you tell me how to do this example in cpmfetch and how to change $options to make border="0"

just explain hot to make no border and i will learn from it to solve others problems i want to know how to change lines


Thank you very much.

You must, create a CSS class like this:

.test
{
border:0;
}


use this class and pass them with $option array like:

$options = array( 'imagestyle' => 'test');

cong

Quote from: mlsbv on September 05, 2007, 05:39:09 PM
You must, create a CSS class like this:

.test
{
border:0;
}


use this class and pass them with $option array like:

$options = array( 'imagestyle' => 'test');


where i put these ???
.test
{
border:0;
}


can you explain it (more) please

and thanx therightpic and mlsbv for your replay i will try this steps adn i will tell here the result in order to be marked as solved

mlsbv

Put css class to style tag:

<style type="text/css">
<!--
.test
{
border:0;
}
-->
</style>


like this:

<style type="text/css">
<!--
.test
{
border:0;
}
-->
</style>


And

put them into between <head></head>
like this:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
<!--
.test {
}
-->
</style>
</head>

<body>
</body>
</html>

cong

thanks for all and moderators can mark it as solved

thank you very much mlsbv you are great  ;)


mlsbv

Quote from: cong on September 05, 2007, 06:13:40 PM
thanks for all and moderators can mark it as solved

thank you very much mlsbv you are great  ;)



Good luck  ;)