Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/10/2021 :  04:35:22  
I am creating a css menu.
I am using DWT.
Above the <head> the code is
<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?><!DOCTYPE html><html>
<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>
<head>

When the DWT is run the menu does not show at all.
Index page before run
[img]https://net100.co.uk/Index%20page%20not%20running.jpg[/img]
Index page when run
[img]http://net100.co.uk/View Index page running.jpg[/img]

One other query is how to remove the standard menu?

Thanks for any help.
Cheers

John

Vince
Administrator

42474 Posts

Posted - 03/10/2021 :  07:55:23  
Hi John
You don't these lines in the head section...

<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>

Put them where you would want the menu in the actual page. Probably in the left side bar for instance.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/11/2021 :  03:37:33  
Hi Vince
Thanks for pointing that out.
I repositioned the code
<!-- #BeginEditable "body" --><!-- jQuery -->
<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>

In Dreamweaver in Live Edit mode the menu shows quite well now, but when I run the page the background color and spacings disappear and a light blue text with no back ground appears more or less as previous.
BTW how do I create a side bar?
====================================
<link href="css/style.css" rel="stylesheet">
The style sheet used has the code below to complete.

/*This is the fifth breakpoint and contains styles for screens 500px to 360px*/
@media screen and (max-width: 500px) {
.top_row .text-right { text-align:left; padding-top:0px;}
.logo_row_right .topsearchWrap,
.logo_row_right .topsearchWrap { padding-bottom:0px;}
.mid_right .col-4 { width:100%;}
}
ul.ectmenu1 {
list-style: none;
border:0px solid;
color:#ffffff;font:bold 14px Arial, Helvetica, sans-serif;
padding:0px;
}
li.ectmenu1 {
border:1px solid;
padding:4px;
background-color: #e69d01;
text-align:left;
}
li.ectmenu1 a{
color: #fff;
padding:4px;
}
li.ectmenu1 a:hover{
color: #333;
padding:4px;
}
If you need more information please let me know
Thanks
John

Vince
Administrator

42474 Posts

Posted - 03/11/2021 :  04:39:46  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/11/2021 :  05:13:02  
Hi Vince
https://www.fb-design.co.uk/index-fbmenu.php
No links have been added.

John

Vince
Administrator

42474 Posts

Posted - 03/12/2021 :  04:05:17  
Hi John
I'm not really sure what I'm looking for but the menu which was at the top seems to be in the page body now and has a background colour and spacing. Could you maybe elaborate more?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/12/2021 :  05:21:56  
Hi Vince
Yes I agree with you now, the only thing I can think why this arose is I may not have carried of a ctrl F5.
Chrome has surprised me many times with like situations.
Thanks for your help.

Regards

John
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000