- Posts: 3722
COMMUNITY FORUM
How to change price text size on k2 pls help!!!!
- william white
- Offline
- Platinum Member
Less
More
12 years 6 months ago #63457
by william white
Replied by william white on topic Re: How to change price text size on k2 pls help!!!!
Using firebug is the quickest way to find what your looking for.
Please Log in or Create an account to join the conversation.
- Alin Ilian
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
12 years 6 months ago #63458
by Alin Ilian
Replied by Alin Ilian on topic Re: How to change price text size on k2 pls help!!!!
i found with firebug,but i can't save with him, it's writed "style.php?v=264f52a40...", and on "style.php" it's only this:
"<?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 );
}
}
}
}
}
}
}
}
}
}
}
?>
"
"<?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
Less
More
- Posts: 10
12 years 6 months ago #63459
by Alin Ilian
Replied by Alin Ilian on topic Re: How to change price text size on k2 pls help!!!!
I'm stuck :(
Please Log in or Create an account to join the conversation.
- Alin Ilian
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
12 years 6 months ago #63460
by Alin Ilian
Replied by Alin Ilian on topic Re: How to change price text size on k2 pls help!!!!
i found it on "templates/deals_plazza/skeletons/skeleton3/css/k2.css"
Thanks for help
Thanks for help
Please Log in or Create an account to join the conversation.