HTML tag and view of bulleted list
This support request was posted in Paeon by MarieM_77
- MarieM_77 January 6, 2016 at 10:24 am
Hi,
I have 2 questions about the Paeon Theme.
1 – I just realized that the H1 tag is the same on all pages of the site of one of my clients.
How to use a different H1 tag on each page please?2 – In the service item, I use some bulleted list, next to an image (the image is on the left side).
The bullet points are displayed correctly in all web browsers except Internet explorer where they appear on the image (they haven’t the same alignment than on the other browsers)Could you please help me to resolve these problems?
Thank you in advance.
Marie
Ricardo Aiello January 7, 2016 at 2:24 pmHi MarieM_77,
Would you be so kind and provide me with links where I can see the issues you mention? That would make a lot easier for me to help you fix them.
Thanks in advance,
Ricardo
MarieM_77 January 7, 2016 at 3:37 pmHi,
Here a example for a link of a service item.
http://s341439695.onlinehome.fr/en/service/monitoring
It works correctly in firefox, chrome…but not in internet explorer.Excuse me for the second question (I am not speciliazed in web development:-)).
I noticed that in fact they are 2 H1 tag in each page : one for the logo and one for the title of the page. Is it normal?Thank you a lot for your patience and help.
Marie
Ricardo Aiello January 7, 2016 at 7:33 pmHi MarieM_77,
Thanks a lot for the link, it’s been very useful.
As you can read in this article, there is no problem in having multiple heading tags when using HTML5 (which Paeon does). But if you still want to have the h1 tag only in the page title, you can remove it from the logo by pasting the following PHP code in your functions.php file:
if ( ! function_exists( 'nice_logo_remove_heading' ) ) :
add_filter( 'nice_logo_default_args', 'nice_logo_remove_heading' );
/**
* Remove the heading tags from the logo.
*
* @param array $args
*
* @return array
*/
function nice_logo_remove_heading( $args ) {
$args['before_title'] = '';
$args['after_title'] = '';return $args;
}
endif;
Regarding the bullets in Internet Explorer, you can fix them by pasting the following code in NiceThemes > Theme Options > Design & Styles > Custom CSS:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
#content ul li {
list-style-position: inside;
}
}
Please let me know if these solutions fix your issues, and if we can be of further assistance.
Best,
Ricardo
MarieM_77 January 8, 2016 at 11:15 amThank you very much.
It is perfect. All is Ok now.Thank you again for your help.
Best regards,
Marie
Ricardo Aiello January 8, 2016 at 12:18 pmHi MarieM_77,
Glad to help 🙂 Please let us know if you need anything else.
Best,
Ricardo
This topic is marked as resolved
Only the topic author can re-open this thread.