TailleurDimages
Forum Replies Created
-
hello there, thx for helping me !
Mohammed Kaleem : its important for my SEO to avoid to have the same text on every page, so i can’t replace it by a logo or shorten it. + The font size is already pretty small.
I just realize that there’s something wrong, as it has the same content on every page on amp, and it is not correct, as this site-title changes according to the page on which you’re on.
How can I fix it, can you help me?frenchomatic:
thanks for your proposition, it suits me!
but there’s something that I don’t understand with CSS, so nothing changed after I added your code to my style.css file. Can you help me ?
I’m using a child theme, first thanks to a pluggin, and by now directly through the style.css file. But as I’m not into code, it can be difficult to make the lines I add work correctly. I’ve spent hours trying to find how to change the color of the footer background… In the end, I simply changed the place of the code inside the style.css file (put it in 1st), and finaly it worked…so, I tried your first suggestion in different place inside my file, and with the following writting :
.amp-logo a{
display: inline;
}vs .amp-logo a{display: inline;}
but the result is still the same… Any suggestion will be helpful !
Forum: Plugins
In reply to: [Speed Contact Bar] problem when using amp pluginsorry, plugin is AMP for WP
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] URL of AMP pagesI found the syntax of my amp pages on your documentation site, thx
i.e. : mywebsiteurl/amp/
thank you for your help lilaemedia,
unfortunately, i’m not able to understand and to read correctly the CSS, so i tried many tips found on the web, but none is working, such as adding the !important tag.
So i still have this huge image on the header for mobiles…+ there a many elements that has seemingly “redundant” values, such as
.twentyseventeen-front-page.has-header-image .custom-header-media, .twentyseventeen-front-page.has-header-video .custom-header-media, .home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media
that has 4 different heights :
one that is “0”, one in px (when i change it nothing seems to happen on any page or device), one labelled in vh, and one that is max-heigh in %,
so i don’t understand what i’m doing. i just can try to change each of them + trying to understand what has been modified.+ as i wish to reduce the height of the header image for both all type of pages + devices, I thought that I could import and display the header image at the correct size, but the theme doesn’t enable that : it will always crop the image in order to get the same size. What should i modify in order to use an image that is max 500xp high ?
Can you tell me more please ?
thank you so much Michael, it works perfectly well thanks to your advice !
I chose to link these titles with the homepage, as normaly expected from any website.Thanks to you !
oops, I was checking the wrong page, this code made empty the “Comment venir” page… ??
sorry,
I made a last try, modifying <?php if/elseif ( is_page(‘Comment Venir’) ) : ?>
in
<?php elseif ( is_page(‘Comment Venir’) ) : ?>and the theme is nomore broken, but there’s no site title displayed on the pages, except for the homepage,
hi Michael,
thanks for your answer,
I’d like to try the 2nd solution,
but as i tried, i broke the theme, this is what i did :i created the following folders in the theme child : /template-parts/header/site-branding.php
+ i modified the content as following :`<div class=”site-branding-text”>
<?php if ( is_front_page() ) : ?>
<h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<?php if/elseif ( is_page(‘Comment Venir’) ) : ?>
<p class=”site-title”>” rel=”comment-venir”><?php bloginfo( ‘Comment’ ); ?></p>
<?php endif; ?><?php
$description = get_bloginfo( ‘description’, ‘display’ );if ( $description || is_customize_preview() ) :
?>
<p class=”site-description”><?php echo $description; ?></p>
<?php endif; ?>
</div><!– .site-branding-text –>’I tried also with the page ID : <?php if/elseif ( is_page(‘5’) ) : ?>
or with the previous syntax <?php if ( is_page(‘Comment Venir’) ) : ?>
but I always get a broken theme.