- Posts: 10
COMMUNITY FORUM
How to change price text size on k2 pls help!!!!
- Alin Ilian
-
Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
A good way to find out is to use firebug and see what css file is determining the size of different text on your site
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Aimery Marsily
-
- Offline
- Premium Member
- Posts: 80
EDIT: For your CSS you can find it here : templates/deals_plazza/style.css or something like style.css in your template folder.
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
"<?php
ERROR_REPORTING(E_ALL);
*/
define( '_JEXEC', 1 );
define( 'DS', DIRECTORY_SEPARATOR );
$templatename = explode( DS, dirname(__FILE__) );
$jpath_base = array();
for( $n = 0; $n <= count( $templatename ) - 3; $n++ )
{
$jpath_base[] = $templatename[ $n ];
}
define( 'JPATH_BASE', implode( DS, $jpath_base ) );
$templatename = $templatename[ count( $templatename ) - 1 ];
define( 'TEMPLATE_PATH_BASE', JPATH_BASE . DS . 'templates' . DS . $templatename );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
jimport( 'joomla.methods' );
$session =& JFactory::getSession();
$cssGZIP = $session->get( '_tp_CSSForLoad' );
if( $session->get( 'tpparams_other_gzipcss' ) == 1 )
{
ob_start ("ob_gzhandler");
}
if( $session->get( 'tpparams_other_compresscssfile' ) == 1 ) ob_start("compress");
header("Content-type: text/css; charset= UTF-8");
header("Cache-Control: must-revalidate");
$offset = 60 * 60 ;
$ExpStr = "Expires: " . gmdate( "D, d M Y H:i:s", time() + 86400 ) . " GMT";
if( $session->get( 'tpparams_other_compresscssfile' ) == 0 ) header( $ExpStr );
function compress( $buffer)
{
$buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
$buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' ', ' '), '', $buffer);
$buffer = str_replace('{ ', '{', $buffer);
$buffer = str_replace(' }', '}', $buffer);
$buffer = str_replace('; ', ';', $buffer);
$buffer = str_replace(', ', ',', $buffer);
$buffer = str_replace(' {', '{', $buffer);
$buffer = str_replace('} ', '}', $buffer);
$buffer = str_replace(': ', ':', $buffer);
$buffer = str_replace(' ,', ',', $buffer);
$buffer = str_replace(' ;', ';', $buffer);
return $buffer;
}
if( is_array( $cssGZIP ) )
{
if( count( $cssGZIP ) )
{
foreach( $cssGZIP as $GZIP )
{
if( !empty( $GZIP[0] ) )
{
$cssFile = $GZIP[0];
$cssBrowser = ( !empty( $GZIP[1] ) ) ? $GZIP[1] : 'all';
$cssVar = ( !empty( $GZIP[2] ) ) ? $GZIP[2] : null;
$loadThisCSS = false;
if( $cssBrowser == 'all' )
{
$loadThisCSS = true;
}
else
{
$browsers = explode( ',', $cssBrowser );
foreach($browsers as $browser)
{
if( strpos( strtolower( $session->get( 'tpuser_user_agent' ) ), $browser ) !== false )
{
$loadThisCSS = true;
}
}
}
if($loadThisCSS == true)
{
if( file_exists( $cssFile ) )
{
if( filesize( $cssFile ) )
{
if( !empty( $cssVar ) )
{
if( is_array( $cssVar ) )
{
if( count( $cssVar ) )
{
foreach( $cssVar as $k => $v )
{
$$k = $v;
}
}
}
}
include( $cssFile );
if( !empty( $cssVar ) )
{
if( is_array( $cssVar ) )
{
if( count( $cssVar ) )
{
foreach( $cssVar as $k => $v )
{
unset( $$k );
}
}
}
}
}
}
}
}
}
}
}
?>
"
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Alin Ilian
-
Topic Author
- Offline
- New Member
- Posts: 10
Thanks for help
Please Log in or Create an account to join the conversation.