Tagged: x
-
AuthorPosts
-
November 4, 2016 at 4:58 pm #1244387
Phil13ParticipantFrom a child theme how to apply these changes:
1)
1a) How to remove completely (not just hidden)
<h1 class=”visually-hidden”>Title Web site</h1>
1b) I want to have the logo but not in H1 and not with alt “Just another WordPress site”
2) My title Website | Just another WordPress site
How to remove ” | Just another WordPress site”
3) On title post blog
title is: “Article TEST n°3 | My title Website”
How to remote for each post: “| My title Website”
4) How to have a specific menu on my blog page (regroup all my posts) ?
Precision maybe important: In my case blog page is a specific page but my home is a static page
I tried:
a) create a blog menu
b) go to blog page, edit this ont and choose “One Page Navigation” on option page and choose blog menu + saveBut it doesn’t work…
5) How to remove the red line above the selected item menu ?
6) How to change the color and the text of “read more” at the end of the posts (excerpts)
Thanks so much for your help !
Philippe
November 5, 2016 at 2:13 am #1244770
ChristopherModeratorHi there,
#1 Copy _brand.php from framework/views/global and put it in the same path inside child theme, replace existing code with following :
<?php // ============================================================================= // VIEWS/GLOBAL/_BRAND.PHP // ----------------------------------------------------------------------------- // Outputs the brand. // ============================================================================= $site_name = get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description' ); $logo = x_make_protocol_relative( x_get_option( 'x_logo' ) ); $site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">'; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a>#2 Please remove ‘Tagline’ under Settings -> General.
#3 Please provide us with URL and screen shot.
#4 Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
#5 Please add following code in Customize -> Custom -> Global CSS :
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a { box-shadow: none; }#6 To translate strings, follow this article https://community.theme.co/kb/translation/
Add this code as well :
a.more-link { color: #000; }Hope it helps.
November 5, 2016 at 4:01 pm #1245264
Phil13ParticipantThis reply has been marked as private.November 6, 2016 at 2:27 am #1245630
RadModeratorHi there,
3. Ah, you should install any SEO plugin (eg. SEO Yoast) and modify the structure and format of your page titles. It shouldn’t be edited through code since it uses filters, and SEO plugin uses that filters. Example, https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/
5. Please add it to Admin > Appearance > Customizer > Custom > CSS. CSS priorities are very important and you placed it in the position where X theme CSS’s override it. I guess you’re using different Custom CSS editor.
6. The same as #5, it’s overridden by X theme’s CSS. Please add it within Admin > Appearance > Customizer > Custom > CSS.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1244387 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

