NameSilo

Hiding H1 not working

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

johnt13

New Member
Impact
0
Hiding H1 not working [SOLVED]

NEEDED TO PUT # instead of DOT

I have tried display: none and visibilty: none and neither are working.
Code:
#headline {
position:absolute;
left:300px;
top:55px;
width:470px;
height:194px;
background: url(images/headline.jpg);
}

.headline h1 { visibility: none; }

============HTML==============

<div id="headline" style="background: url(images/headline_01.jpg)">
<h1 class="headline">PAGE TITLE HERE</h1>
</div>

If I just make it h1 {visibility:none} it works but I want it specific to the headline class because I will be using H1 elsewhere.
Can anyone see anything wrong? :-/
Thanks in advance!
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
h1#header {display:none} should do it too. If it doesn't work you probably didn't set a doctype.
 
0
Close
Great catch!
It's a test file so I didn't add any header stuff...

Appreciate it!
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back