Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Cant get rid of dashed line round centred page menu (http://forum.bytesforall.com/showthread.php?t=17461)

prooffairy May 1, 2012 10:38 AM

[SOLVED] Cant get rid of dashed line round centred page menu
 
Sorry for reposting - juggledad posted an answer and someone else posted a link and mysteriously the thread was closed and marked solved - but I have tried both solutions offered and still ahve the problem so it's not actually solved!

So the problem is:

I've used Atahualpa for loads of sites and have always used the following code to remove the dashed line round the page-center and cat-center menus:


div#menu1 {
border:0;
}
div#menu2 {
border:0;
}

However, the site I'm working on now it won't work. Site link is http://79.170.44.113/aliwp1.co.uk/

On this site I've added the grey image via the Header Overlay box and also need the menu bar to be transparent so the image is over the menu option when there are more things in there.

I'm using WP 3.3.2 and Atahualpa 3.7.6

Juggledad suggested using

div#menu1 ul.rMenu li a { border: none;}

in CSS inserts and someone else said to try

div#menu1 {
border: dashed 0px #fff;

}

but neither of those has made a difference. Really need to get shot of the dotted lines!

prooffairy May 4, 2012 09:20 AM

Any help? Please?

prooffairy May 4, 2012 09:22 AM

Juat got rid of the in between dashes but still have a line showing at either end (left hand side is partially covered by an image)

juggledad May 4, 2012 10:25 AM

Did you look at the FAQ on menu's ?

prooffairy May 4, 2012 10:53 AM

Yep - tried that, used this theme loads of times and always been able to get rid of the dotted lines - but not this time.

juggledad May 4, 2012 01:04 PM

Try this
HTML Code:

div#menu1  {
        border: none;

If it doesn't work, disable all plugins. Sometimes a plugin adds its own CSS and if it comes after the atahualpa CSS it will override. If it used the same class or id name, it would replace the CSS.

lmilesw May 4, 2012 08:18 PM

You may have to add !important to the code as shown below.
HTML Code:

div#menu1  {
    border: none !important;
}


prooffairy May 8, 2012 05:36 AM

No - I've still got a bit of dotted line at either end of the menu bar :(

lmilesw May 8, 2012 05:51 AM

I just tested again with Firefox and it works for me.

I do not see border: none in your CSS. Are you saying you put the following in the CSS Inserts box.
HTML Code:

div#menu1  {
    border: none !important;
}


prooffairy May 8, 2012 06:12 AM

Yes - CSS inserts has:

div#menu1 {
border: none !important;
}
div#menu2 {
border: none !important;
}

Dashed lines at left and right of menu in Chrome, IE and Firefox for me!

juggledad May 8, 2012 06:15 AM

you have an error in the first CSS you added in the CSS Inserts, you are missing a closing '}'

prooffairy May 8, 2012 06:19 AM

?? NOT SURE WHAT YOU MEAN - EVERYTHING SEEMS TO AHVE A CLOSING ] AS FAR AS i CAN SEE!

tHIS IS THE ENTIRE css iNSERTS FILE:

h1 { font-size: 34px; line-height: 1.2; margin: 0.3em 0 10px; }
h2 { font-size: 28px; line-height: 1.3; margin: 1em 0 .2em; }
h3 { font-size: 24px; line-height: 1.3; margin: 1em 0 .2em; }
h4 { font-size: 19px; margin: 1.33em 0 .2em; }
h5 { font-size: 1.3em; margin: 1.67em 0; font-weight: bold; }
h6 { font-size: 1.15em; margin: 1.67em 0; font-weight: bold; }


h2, h3, h4, h5, h6 {
color: #20A6AA;
display: block;
/* fixed for Non-PCs without Photoshop CS2+ */
font-smooth: always;
font-family: 'century gothic', arial, helvetica, sans-serif;

h1 {
color: #231F82;
display: block;
/* fixed for Non-PCs without Photoshop CS2+ */
font-smooth: always;
font-family: 'century gothic', arial, helvetica, sans-serif;
}
div#menu1 {
border: none !important;
}
div#menu2 {
border: none !important;
}

Can you show me where I need to add one please?

juggledad May 8, 2012 06:41 AM

before you H1

prooffairy May 8, 2012 06:45 AM

You're a genius! Thank you - don't know how I missed that!


All times are GMT -6. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.