H1 Attribute

Permalink Browser Info Environment
Hello

I have just realised that your Office Theme uses the h1 attribute for the Feature Title which, in turn, takes it's content from the Menu item.

What this means is I now have two h1 attributes on my page - seehttp://www.web-digital.co.uk/seo, for example.

One in the header which I have specified for my SEO and the other being the Feature Title which is not what I want for h1/SEO content.

Whats the best way to keep the Feature Title looking like it is but NOT having the h1 attribute?

I figure creating another attribute for Feature Title with the same parameters as h1 would be the way to go but wanted to check with first.

Please can you give me some advise as my SEO ratings are suffering because of having more than one h1 statement per page.

Many thanks in advance.

Neil

1 Attachment

Type:
Status: In Progress
Sunburstb0y
View Replies:
c5mix replied on at Permalink Reply
c5mix
You'll have to go into all the page type files in the packages/theme_officespace/themes/officespace folder and replace the h1 tag with an h2 or something. Then in the theme's main.css file look for this line:
#feature-title h1

and change it to:
#feature-title h1, #feature-title h2

and also add in this declaration:
font-size:3em;

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Deluxe Image Gallery (1.6.6), OfficeSpace Theme (1.5.1), Sortable Responsive Gallery (1.8).

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.3.27

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SourceGuardian, SPL, SQLite, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 600
max_input_vars - 1000
memory_limit - 256M
post_max_size - 256M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.2; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.