Forum Replies Created
-
AuthorPosts
-
HerveParticipant
Hi,
Yes, H1 by default.HerveParticipantHi,
Is it possible that the Gutenberg blocks are wider in the visual editor? Thank youWebsite: er.v.free.fr
HerveParticipantHi,
Size graphic 364×164 pixels, non ?
Maybe for margin@media (min-width: 600px) .wp-block-column:not(:last-child) { margin-right: 1px; } @media (min-width: 600px) .wp-block-column:not(:first-child) { margin-left: 1px; }
HerveParticipantHi,
Sorry, I know, the subject is old, but it concerns the Hn.
What is “default style sheet for HTML 4” for this site?
https://www.w3.org/TR/CSS22/sample.htmlh1 { font-size: 2em; margin: .67em 0;} h2 { font-size: 1.5em; margin: .75em 0;} h3 { font-size: 1.17em; margin: .83em 0;} h4 { font-size: 1em; margin: 1.12em 0;} h5 { font-size: .83em; margin: 1.5em 0;} h6 { font-size: .75em; margin: 1.67em 0;}
Thank you
HerveParticipanthi,
https://codex.wordpress.org/Child_Themes
or
https://www.cryoutcreations.eu/wordpress-tutorials/wordpress-child-themes/2
or a plugin
https://wordpress.org/plugins/child-theme-configurator/See in content/content.php or other files.
HerveParticipantDo you have a child theme?
Maybe can be changed
<h2 class="entry-title"><?php the_title(); ?></h2>
in H1
in content/content-page.phpHerveParticipantWhat is the address of your site?
HerveParticipantHi,
Yes, for the header widget but it’s getting around the problem, not my way of doing it.
@Wakachuli always has the theme, to see with him.For the CSS, I meant, that if you have to activate the display of the title and the undertitle, all this may appear on the image.
So, you’ll have to use CSS code to hide the two lines on the image, like display: none.Thank you
HerveParticipantHi,
Without answer, I changed the theme.
But cheched for displaying the title and undertitle, this will appear on the logo.
and if we do not want the title and undertitle, on the image, we will have to use CSS of the blow, that’s it?HerveParticipantHi,
The update Tempera 1.7.0 has the code for Gallery ?The website (below) must use the plugin “Photo gallery by 10web – Responsive photo gallery “.
https://rinekedejong.nl/mythologie/The person had asked the question on the forum of WordPress.org
https://wordpress.org/support/topic/mijn-galleries-zijn-niet-meer-actief/Thank you
HerveParticipantHi,
Do you add the codes to your themes for the galleries?
So have galleries optimized for your themes./* Removing Default WordPress Syles for Galleries */ add_filter('use_default_gallery_style', '__return_false');
And
.gallery { margin: 0 -1.1666667% 1.75em; } .gallery-item { display: inline-block; max-width: 33.33%; padding: 0 1.1400652% 2.2801304%; text-align: center; vertical-align: top; width: 100%; } .gallery-item a { display: inline-block; } .gallery-columns-1 .gallery-item { max-width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-icon img { margin: 0 auto; } .gallery-caption { color: #686868; display: block; font-size: 13px; font-size: 0.8125rem; font-style: italic; line-height: 1.6153846154; padding-top: 0.5384615385em; } .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; }
Thank you
HerveParticipanthi,
On an article in French, as I am French, I found this for galleries.
https://wpchannel.com/wordpress/tutoriels-wordpress/support-galeries-wordpress-html5/
– A well-coded theme must have the following line of code for effective support of image galleries:
add_theme_support('html5', array('gallery'));
The presence of this line will have the effect of using the
figure
tag. In case of absence, WordPress will usedl
anddt
tags and will add inline the following code tip:<style type='text/css'> #gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */ </style>
In other words, it is not very optimal! If you develop your own themes, respect these good practices but if you pick up a premium theme you can simply filter the whole to disable adding CSS inline with:
/* Removing Default WordPress Syles for Galleries */ add_filter('use_default_gallery_style', '__return_false');
For my part, here is the CSS code that I included in my basic theme:
.gallery { margin: 0 -1.1666667% 1.75em; } .gallery-item { display: inline-block; max-width: 33.33%; padding: 0 1.1400652% 2.2801304%; text-align: center; vertical-align: top; width: 100%; } .gallery-item a { display: inline-block; } .gallery-columns-1 .gallery-item { max-width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-icon img { margin: 0 auto; } .gallery-caption { color: #686868; display: block; font-size: 13px; font-size: 0.8125rem; font-style: italic; line-height: 1.6153846154; padding-top: 0.5384615385em; } .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; }
I pointed out to the author of the Post, that he was missing
. Gallery-Columns-3. Gallery-Item
In its code for style. css
But maybe it can help.Website: gallery,%20style.cs
HerveParticipanthi,
that’s the problem, is to have a logo and the title at the same time.
If you want a logo, not possible to have the H1, not good, force yourself to have the title, without logoHerveParticipantHi,
Pardon An error by the codes of the theme twenty Fourteen but twenty Seventeen, sorry./* Gallery Columns */ .gallery-item { max-width: 25%; } .gallery-columns-1 .gallery-item { max-width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33%; } .gallery-columns-4 .gallery-item { max-width: 25%; }
You have to adapt the code to your code
** * 5.4 Galleries * ---------------------------------------------------------------------------- */ .gallery { margin-bottom: 20px; margin-left: -4px; } .gallery-item { float: left; margin: 0 4px 4px 0; overflow: hidden; position: relative; } .gallery-columns-1.gallery-size-medium, .gallery-columns-1.gallery-size-thumbnail, .gallery-columns-2.gallery-size-thumbnail, .gallery-columns-3.gallery-size-thumbnail { display: table; margin: 0 auto 20px; } .gallery-columns-1 .gallery-item, .gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item { text-align: center; } .gallery-columns-4 .gallery-item { max-width: 23%; max-width: calc(25% - 4px); } .gallery-columns-5 .gallery-item { max-width: 19%; max-width: calc(20% - 4px); } .gallery-columns-6 .gallery-item { max-width: 15%; max-width: calc(16.7% - 4px); } .gallery-columns-7 .gallery-item { max-width: 13%; max-width: calc(14.28% - 4px); } .gallery-columns-8 .gallery-item { max-width: 11%; max-width: calc(12.5% - 4px); } .gallery-columns-9 .gallery-item { max-width: 9%; max-width: calc(11.1% - 4px); } .gallery-columns-1 .gallery-item:nth-of-type(1n), .gallery-columns-2 .gallery-item:nth-of-type(2n), .gallery-columns-3 .gallery-item:nth-of-type(3n), .gallery-columns-4 .gallery-item:nth-of-type(4n), .gallery-columns-5 .gallery-item:nth-of-type(5n), .gallery-columns-6 .gallery-item:nth-of-type(6n), .gallery-columns-7 .gallery-item:nth-of-type(7n), .gallery-columns-8 .gallery-item:nth-of-type(8n), .gallery-columns-9 .gallery-item:nth-of-type(9n) { margin-right: 0; } .gallery-icon { line-height: 0; } .gallery-caption { position: absolute; bottom: 0; left: 0; font-size: .9em; color: #fff; text-align: left; line-height: 1.3; background-color: rgba(0, 0, 0, 0.7); margin: 0; max-height: 50%; opacity: 0; padding: 2px 8px; width: 100%; cursor: default; -webkit-transition: opacity 400ms ease; transition: opacity 400ms ease; } .gallery-item:hover .gallery-caption { opacity: 1; } .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; }
Thank you
HerveParticipantHi,
I looked in the file “style. css ” From Twenty Fourteen, I found some code for the galleries.
I added the code in “style. css ” in the theme parabola
I just edit for 3 columns, instead of 33.33%, I put 30%
Here’s codeCode CSS
/* Gallery Columns */ .gallery-item { max-width: 25%; } .gallery-columns-1 .gallery-item { max-width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33%; } .gallery-columns-4 .gallery-item { max-width: 25%; }
With this code in all your themes, more galleries problems.
This is the result
http://er.v.free.fr/index.php/ant-man-l-homme-foumiThese are the default values like H1, H2, H3,..
https://www.w3schools.com/cssref/css_default_values.asp
or
https://www.w3schools.com/tags/tag_hn.aspProblem solved, thank you for your help
HerveParticipantHi,
Miniature : 230×230 pixels
Medium : 520×520 pixels
Large : 1024×1024 pixelsAnd it works with Twenty Seventeen, Spacious etc.. It is only with one of your themes that the problem is present.
Watch my website with the Twenty Seventeen theme
http://er.v.free.fr/index.php/ant-man-l-homme-foumiHerveParticipantHi,
https://www.natura-medioambiental.com/la-sobrepoblacion-y-el-medio-ambiente-desafios-ante-el-cambio-climatico/
The title is well in H1 !But there’s no H1
https://www.natura-medioambiental.com/
He put a image or a logo, from the shot of H1HerveParticipantHi,
300×300 pixels for average?
Too small, that’s for a miniature.
I repeat, if I change the theme, everything is goodWhy does it work with Twenty Seventeen, Spacious and not with your themes?
HerveParticipantThank you
On a site I use another theme, same setting, no problem.
https://foxdao.net/les-indestructibles-darling/
I usually have the native gallery function of WordPress.HerveParticipantHi,
I’ve added a gallery, I usually use WordPress for over 10 years. I was a moderator on the forum of WordPress-fr.net.
And if I change the theme, everything is good, the problem is there, just with two themes from Cryout Creations, Tempera and Parabola.Thank You
HerveParticipantHi,
not cache plugin.HerveParticipantHi,
I’m not the only one with the problem, AmsterdamTouristGuide also.
Yes i have the theme here
http://er.v.free.fr/index.php/ant-man-l-homme-foumiWhat size do you have for Medium?
Thank You
HerveParticipantHi,
But why reduce the size or use a plugin while everything is good with other themes?
http://er.v.free.fr/index.php/ant-man-l-homme-foumiThere is a concern with the themes Tempera and parabola, a concern in the coding, I guess.
You had written to the author the problem at the time?
Thank you
HerveParticipantHi,
I tried several themes, with different widths, no worries,
The problem is only with your themes.
Already the pictures appear larger than with other topics.– 344x520px with your theme
– With Twenty Seventeen 159x240pxThank you
HerveParticipantHi,
But yet it absolutely takes the H1 tag so site title for referencing.
This means that I can not have a logo at the same time, not possible to add this option?
Thank youHerveParticipantHi,
Thanks for your reply, I had understood that you had to display the title U site to have the tag <h1>, but I am not coder, I do not know how to do it.
I had thought about having a logo and the title of the site, but I don’t see either how to do it.
Does it have an option in the theme to have the logo and the title of the site at the same time?
Thank youHerveParticipantHi,
in a child theme, file single.php, I put the code
ID ) ?> Vus
just after this code
<?php tempera_meta_before(); cryout_post_meta_hook(); ?>
and it’s good
http://er.v.free.fr/index.php/liens-sociaux-hueman-fontawesomeFor the homepage, file content/content.php line of code
<?php cryout_post_after_content_hook(); ?>
In style.css, put
/* Views */ .views {display: block; float: left; margin-right: 12px; line-height: 2;} .dashicons, .dashicons-before:before {float: left;}
Here is the solution, problem solved
Website: er.v.free.fr
November 14th, 2017 at 16:45 in reply to: After update, my "Latest Posts" no longer displays posts #55986HerveParticipantHi,
You have created a page “the last posts” as in the FAQ of the theme?
With the page template?https://www.cryoutcreations.eu/faq/c-17-how-do-i-use-both-the-presentation-page-and-the-blog-page
November 10th, 2017 at 15:59 in reply to: After update, my "Latest Posts" no longer displays posts #55811HerveParticipantHi,
You can change the theme, the current configuration is backup in the database, no risk.All your plugins have been updated in 2017?
No one year old plugins or even more?Your plugins are all there https://wordpress.org?
No alert message
“This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.”Are you well under PHP 7.0?
Thank you
-
AuthorPosts