Forum Replies Created
-
AuthorPosts
-
AndyKeymaster
Thanks.
Have you modified any of the theme’s files or templates?
I ask because in the source code the cart has updated correctly, but it is not displayed on the page so I am wondering if you have changed something such as an element (div, span etc..) that needs to be targeted with the updated cart details.
AndyKeymasterThe quantity should update when you add or remove items to the cart.
Can you please let me know your site URL? I’ll be able to take a look and see why it is not working on your site.
AndyKeymasterThis is the relevant CSS for screen widths below 768px, if you want to change any of the values to make more space for your logo:
@media only screen and (max-width: 768px){ /*width of logo area -> minmax(auto, calc(100% - 179px))*/ /*width of #site-top-right -> 155px*/ /*width of menu icon area -> 24px*/ #masthead > .container { grid-template-columns: minmax(auto, calc(100% - 179px)) 155px 24px; } #masthead .icons { font-size: 16px; } #masthead .top-account, #masthead .top-cart { margin-left: 20px; } }
If you decrease the width of the #site-top-right you can increase the maximum width of the logo area by the same amount.
grid-template-columns: minmax(auto, calc(100% - 179px)) 155px 24px;
–> decrease 155px to 120px, so increase 179px to 214px becomes:
grid-template-columns: minmax(auto, calc(100% - 214px)) 120px 24px;
AndyKeymasterOkay, we have done some testing and the site-wide header image as selected in the customizer is displayed correctly across all languages, so you shouldn’t need to upload a duplicate image for each language.
The header image can also be changed per post/page in the post/page editor with the ‘Featured Image’.
Let’s say you have ‘Language 1’ and you create a page ‘Page 1’ for that language. If you upload/select a featured image, this will be displayed as the header image for ‘Page 1’ in ‘Language 1’.
Then you create a ‘Language 2’ version of ‘Page 1’, if you leave the ‘Featured Image’ empty, the site-wide header image will be displayed for ‘Page 1’ in ‘Language 2’. So, to have the same ‘Featured Image’ you just need to select the same image, no need to reupload a duplicate image.
Hope this helps and that I have explained it adequately.
AndyKeymasterHello, good to hear you found a solution, thank you for the information.
I think Polylang works this way so that there is the option to have different header images when switching languages.
We will look into finding a way to have the header image displayed across all languages by default unless it is selected that they should be different.
AndyKeymasterBecause you have removed the post title with the code from your previous question, if you want to display the title you will need to write it into the content using a H1 tag.
AndyKeymasterThe following is custom CSS to be added to Additional CSS in the customizer.
To center the image use this:
.single-entry-content .wp-post-image { clear: both; display: block; margin: 0 auto 1.5em auto; }
To align it left with the text content wrapped from beside the image:
.single-entry-content .wp-post-image { float: left; margin: 0 1.5em 1.5em 0; }
AndyKeymasterWith the gallery thumbnails below the main image, the Retail theme simply defaults to the standard WooCommerce zero margins/padding for this.
To add some spacing between the main image and the gallery, add this CSS to Customize > Additional CSS:
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 30px; }
30px is 30 pixels so feel free to amend this value to whatever you think looks best.
AndyKeymasterI believe the spacer shortcode –
[tx_spacer size="16"]
is provided by a plugin named TemplatesNext ToolKit and it may be that it is designed to work in the page content area, not the sidebars. I don’t know this for sure so I would recommend asking the TemplatesNext ToolKit plugin support if it can be used like this.To increase the spacing below each widget in the sidebar, you could do this with some custom CSS like this added to Customize > Additional CSS:
#secondary.widget-area .widget { margin-bottom: 30px; }
AndyKeymasterThanks. Yes I see what you mean.
It looks like you are using the header image section to show a large image containing your logo/branding. The header background image in this theme is not really designed for this, sorry.
I think if you add the CSS code from my earlier reply to hide the page title and then write your page titles into the content area of your pages using a H1 tag, that may suit your website better.
AndyKeymasterIf you just want to hide the page title from view, add this code to Customize > Additional CSS:
.header-title { display: none; }
Could you please let me know your site URL?
I’ll be able to have a look and see why it is not sitting right on phone screens on your site.February 12, 2020 at 10:41 am in reply to: Body Swipe/Scroll Doesn’t Collapse Header & Keyboard Scroll Not Functioning #9294AndyKeymasterPlease let me know which plugin was causing the issue.
I will be able to try and recreate the problem and see what is causing this.
Thanks.AndyKeymasterThe page title within the header with the background image is the design of both the Trusted and Trusted Pro themes.
If you don’t want this box at all, I can recommend the Azuma theme as this has an option to have the page title below the header area without the background image box.
February 11, 2020 at 8:06 am in reply to: Body Swipe/Scroll Doesn’t Collapse Header & Keyboard Scroll Not Functioning #9274AndyKeymasterHello,
Does our Azuma demo have the same issue when you view it with the same browser?
Do you have any plugins installed and activated?
It could be a conflict or error in the javascript of a plugin. It’s possible to have an error in some other javascript that stops all other code working from that point and not be logged in the console.If you haven’t already done so, could you deactivate all your active plugins, then see if the issue is fixed. Then reactivate plugins one-by-one until the problem reappears.
AndyKeymasterHi, just to let you know this issue was fixed in version 1.1 of the theme.
-
AuthorPosts