Calliope custumization
Home › Forums › Misc. › General Forums › Calliope custumization
-
#12030On October 9, 2011 at 10:51 am
Hi Towfiq, first thank you for the oDesk adress, it seems great to hire developpers.
Secondly I've a question to optimize my website done with your CALLIOPE :
I paste you the code I'm trying to modifiy below – and I join you a screen copy – Thank's again for your help.
Jean-Christophe
[attachment=1308,95]
#14900On October 9, 2011 at 12:22 pmHi Towfiq, sorry I’m not so capped I do not understant what to do…
Please be kind, where shall I input code in the line ?
(a blockquote code em strong ul ol li ?)
<li><a href="#"><span><img src="images/UK_sm.gif" alt="" border="0" /></span></a></li>
</div>
<!--Menu END--></div>Regards – Christophe
#14901On October 9, 2011 at 12:26 pmI am not sure what you are trying to do… can you elaborate?
#14902On October 9, 2011 at 12:34 pmYes of course :
I did add an entry on the menu to the English version of my site.
I did include a flag image, I linked the image to the english site, but :
First : I want to align verticaly the flag image on the text menu,
Second : I want to modify the CSS rolover effect under the flag (I want to remove the grey solid retangular only under the flag – I want to keep it for the rest of the text menu)
Is it possible and, easy ? – Regards – Chris
#14903On October 9, 2011 at 12:39 pmTry this:
<li class=no_bg><a href="#"><span><img src="images/UK_sm.gif" alt="" border="0" /></span></a></li>
</div>
<!--Menu END--></div>and then add this line to your stylesheet:
.no_bg, .no_bg a, .no_bg span, .no_bg:hover, .no_bg a:hover, .no_bg span:hover{background:none!important;}
#14904On October 9, 2011 at 1:07 pmOk I’ve tried, I must have made it wrong as long it does’nt works for now.
That’s what I made in the index menu :
<!--Menu Begin-->
<div id="menu">
<ul>
<li><a href="index.html"><span>Home</span></a></li>
<li><a href="equipe.html"><span>Equipe</span></a></li>
<li><a href="services.html"><span>Services
</span></a></li>
<li><a href="portfolio/portfolio.html"><span>Portfolio</span></a></li>
<li><a href="mailto:contact@mirabonnenouvelle.com"><span>Contact</span></a></li>
<li class=no_bg><a href="#"><span><img src="images/UK_sm.gif" alt="" border="0" /></span></a>
</ul>
</div>
<!--Menu END-->AND I ADD, AT the very end of the CSS file a new line with a CSS class :
/*Template: Calliope
Author: Towfiq I.
website: http://www.towfiqi.com
*/
body {margin: 0px;padding: 0px;border: 0px;font-family:Arial, Helvetica, sans-serif;background:#E6E6E6;color:#666;}
/*Fonts*/
a { font-size:12px; color:#666;}
a:link{color:#999999; text-decoration:none;}
a:visited{color:#999999; text-decoration:none;}
h1 { font-size:20px; font-weight:bold; color:#333;}
h2 { font-size:24px; font-weight:bold; color:#222; margin:0px;}
h3 {font-size:14px; font-weight:bold; color:#333;}
/*Fonts END*/
#header {background:#1c1616;height:100px;border-bottom:1px solid #302627;}
#toprow {height:372px;border-top:solid 1px #1d1d1d;background: #FFFFFF url(images/bg.gif) repeat-x;}
#toprowsub {height:70px;border-bottom:solid 1px #ccc;background: #FFFFFF url(images/bg2.gif) repeat-x;}
#toprowsub h2{padding:15px 30px;}
#midrow {width:960px;margin:0 auto;}
#bottomrow {width:960px;margin:0 auto;}
/*LOGO*/
#logo{padding-top:18px;width:250px;float:left;}
#logo a{background:url(images/logomiraOR.png) no-repeat;display:block;width:250px;height:53px;text-indent:-10000px;}
/*LOGO END*/
/*Menu Begin*/
#menu{float:right;margin-top:30px;}
#menu ul li{ display:inline; list-style-type:none;}
#menu ul li a{padding:5px 0px; font-size:14px; text-decoration:none; margin:0px 10px; font-weight:bold;}
#menu ul li a span{font-size:14px; text-decoration:none; padding:0px 10px; color:#999999;}
#menu ul li a.active{background:url(images/menur.gif) no-repeat right;}
#menu ul li a.active span{background:url(images/menul.gif) no-repeat left; padding:5px 10px;color:#333;}
#menu ul li a:hover{background:url(images/menur.gif) no-repeat right; font-weight:bold;}
#menu ul li a:hover span{background:url(images/menul.gif) no-repeat left; padding:5px 10px;color:#333;}
/*Menu End*/
.center{width:960px;margin:0 auto;}
/*SlideShow Begin*/
#cu3er-container {margin-top:60px;padding-left:0px;padding-right:0px;width:960px;}
#cubershadow{width:960px;height:372px;background:url(images/shadow.jpg) no-repeat bottom;}
/*SlideShow End*/
/*Homepage Boxs*/
#container {float:left;}
.box {margin-top:20px;padding-top:10px;width:310px;height:auto;float:left;background:url(images/border.jpg) no-repeat bottom right;}
.box h1{padding-left:10px;}
.box p {margin:0px;width:200px;padding:15px 5px 10px 5px;float:left;}
.last{background:none;}
a.plan{float:left;display:block;width:83px;height:101px;background:url(images/plan.jpg) no-repeat 0px -101px;text-indent:-1000px;}
a.plan:hover{ background-position: 0px 1px;}
a.whyus{margin-top:10px;float:left;display:block;width:83px;height:87px;background:url(images/whyus.jpg) no-repeat 0px 0px;text-indent:-1000px;}
a.whyus:hover{ background-position: 0px -88px;}
a.support{margin-top:14px;float:left;display:block;width:83px;height:72px;background:url(images/support.jpg) no-repeat 0px 0px;text-indent:-1000px;}
a.support:hover{ background-position: 0px -70px;}
a.button{background:url(images/buttonr.gif) no-repeat right; padding:3px 0px; margin-left:2px; color:#CCCCCC; text-decoration:none; }
.button span{background:url(images/buttonl.gif) no-repeat left; padding:3px 5px;}
/*Homepage Boxs END*/
/*Subpage Boxs*/
#box2holder{padding: 20px 30px;}
.box2{width:450px; float:left; padding:20px 0px;}
.box2 img{ border: solid 5px #F2F2F2; float:left;}
.box2 h3{margin:0px; padding:0px 5px; float:left;}
.box2 p{width:220px; float:left;padding:5px 5px; margin:0px;}
/*Subpage Boxs END*/
/*Footer*/
#footer {background:#1c1616;float:left;width:100%;height:50px;border-top:1px solid #302627;}
.foot{width:960px;margin:0 auto; padding:10px 0; font-size:10px;}
.foot a:link{ color:#999; font-size: 10px; text-decoration:none; }
/*Footer END*/
.textbox{float:left;padding:50px 0px;width:700px;}
.textbox2{padding:10px 30px; background:url(images/textbox2bg.gif) repeat-x;}
.feed{width:auto; float:left;}
.feed img{ border: solid 0px; margin-top:120px; padding:0px 7px;}
.no_bg { .no_bg a, .no_bg span, .no_bg:hover, .no_bg a:hover, .no_bg span:hover{background:none!important;}}
#14905On October 9, 2011 at 1:18 pmTry this css code(keep it exactly same):
#menu ul .no_bg, #menu ul .no_bg a, #menu ul .no_bg span, #menu ul .no_bg:hover, #menu ul .no_bg a:hover, #menu ul .no_bg span:hover{background:none!important;}
#14906On October 9, 2011 at 2:11 pmHi Towfiq, thank’s to you it’s fixed !
I sould have try that solution, I tought about it ! But I need to improve to get more self-confident – As a thank I just tagged your Facebook page.
Also I certainly purshase soon your Triton theme.
Where can I see it fonctionnal ?
See you – Christophe