- This topic has 3 replies, 2 voices, and was last updated 9 years, 6 months ago by Sakin.
-
AuthorPosts
-
May 11, 2015 at 2:48 pm #57511vigilant_spbParticipant
Hello. I have some h3 headers with text “Main Menu”, “Submenu” in a square clip.. Look at this css (it’s default theme css):
/* Assistive text */
.assistive-text {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}SO this text is actually hidden
What is this? Can I remove this assistive-text bock from the page template or it will affect some problems? Don’t wanna any hidden h3 on every page
This block is located before menu and submenu, maybe it’s some WP default stuff BUT this definitely isn’t the best way to hide these headers
May 11, 2015 at 9:12 pm #57531SakinKeymaster@vigilant_spb: Please post in your page URL so that I can check in and give you css to show it.
May 12, 2015 at 12:06 am #57548vigilant_spbParticipantthanks for reply
site is http://s-stroit.ruI don’t want to show this bock, I wanna change h3 to div or completely delete it
May 12, 2015 at 12:39 am #57551SakinKeymaster@vigilant_spb: That is there to make the theme admissibility ready. You cannot change that directly. So, for this you need to build child theme. For child theme, refer to http://catchthemes.com/blog/create-child-theme-wordpress/. Then copy the whole function
catchbox_header_menu()
to your child theme functions.php file. Then you can change that h3 to div or remove it as per your need. -
AuthorPosts
- The topic ‘.assistive-text h3 in 1px square?’ is closed to new replies.