Post by siddaramesh » Mon Dec 22, 2014 2:15 pm

hi, i'm new to opencart
i'm creating a new templates in opencart. i have changed the colors in css file but it's not affecting the front page...?
any changes made in .tpl files are affecting but colors and styles are not affecting...
please help me..
thanks in advance...

Newbie

Posts

Joined
Fri Dec 19, 2014 7:33 pm

Post by opencarthow.com » Tue Dec 23, 2014 12:25 am

siddaramesh wrote:hi, i'm new to opencart
i'm creating a new templates in opencart. i have changed the colors in css file but it's not affecting the front page...?
any changes made in .tpl files are affecting but colors and styles are not affecting...
please help me..
thanks in advance...
Could you provide your modified CSS here, so we can take a look at it?

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer


User avatar
Active Member

Posts

Joined
Fri Nov 28, 2014 10:41 am


Post by siddaramesh » Tue Dec 23, 2014 2:21 pm

okay...

Code: Select all

body 
{
	 background: #e5e5e5; /* #b6b7bc; */
	font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;/* 'Open Sans', sans-serif; */
	font-weight: 400;
	color: #696969;/* #666; */
	font-size: 0.80em; /*12px; */
	 margin: 0px;
    padding: 0px;
	line-height: 20px;
}

Code: Select all

#menu {
	background-color: Gray; /* #229ac8; */
	/* background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x; */
	border-color: Gray Gray transparent; /* #1f90bb #1f90bb #145e7a; */
	min-height: 40px; 
}
#menu .nav > li > a {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	padding: 10px 15px 10px 15px;
	min-height: 15px;
	background-color: Gray; /* transparent; */
}
#menu .nav > li > a:hover, #menu .nav > li.open > a {
	background-color: Gray; /*rgba(0, 0, 0, 0.1); */
}

this is my css file...

Newbie

Posts

Joined
Fri Dec 19, 2014 7:33 pm

Post by justcurious » Tue Dec 23, 2014 4:54 pm

Check template/common/header.tpl. Is it calling the stylesheet from the default template or your new template?

If so, try clearing your browser cache

Google Product Feed - Get your products into Google Shopping. Includes a bulk update facility.
Backup Pro - Backup (on demand or scheduled), Restore and Clone your store.
Freestyle Box - Add multiple information boxes on multiple pages of your store. Includes optional "Code Mode".
View my other extensions


User avatar
Active Member

Posts

Joined
Sat Dec 24, 2011 4:36 pm
Location - UK

Post by siddaramesh » Wed Dec 24, 2014 5:50 pm

problem solved.. thank you justcurious and thank you all for replaying...

Newbie

Posts

Joined
Fri Dec 19, 2014 7:33 pm
Who is online

Users browsing this forum: No registered users and 11 guests