Fixes to h2 headers caused by Action Network form handling
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
<title>{{ if and .Title (ne .Title .Site.Title) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{ .Description | default .Site.Params.description }}">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
|
||||
@@ -755,6 +755,29 @@
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Protect h2 elements from external script interference */
|
||||
h2 {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.intro-section h2,
|
||||
.main-sections h2,
|
||||
.featured-cases-section h2 {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Hide Action Network form titles */
|
||||
#can-form-area-e2c-website-newsletter-form h2,
|
||||
#can-form-area-e2c-website-join-form h2,
|
||||
#can-form-area-e2c-website-story-form h2,
|
||||
[id*="can-form-area"] h2 {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user