I have a question about the site logo image. Usually when we open a website, we see the logo image in the tab header following by the text header. How to remove it from yii? I copies the css from another website but it always shows its logo. I want to simply remove it or replace with my own. Thanks!
Hi,
you can change from your themes folder
folder structure as follows
themes/yourtheme/views/layouts/main.php
Hi Arockia,
Thanks for reply. I don’t have anything in my themes folder.
Hi,
you can change from your themes folder
folder structure as follows
themes/yourtheme/views/layouts/main.php
So where your basic structure of web application presents?
May be at your views/site/layout…
There you can manage…
Till if you don’t understand can you draw your folder structure?
This is my main.php in protected/views/layout. I could not figure out how to remove the little image on the upper left corner of the website. This little logo is not on the webpage itself, but on the tab.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<!-- blueprint CSS framework -->
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/site.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
So where your basic structure of web application presents?
May be at your views/site/layout…
There you can manage…
Till if you don’t understand can you draw your folder structure?
alirz23
(Alirz23)
December 9, 2013, 8:27am
6
the logo is probably in your css file look for background property under .logo rule
paste your url maybe i can take look at