Tagged: x
-
AuthorPosts
-
January 20, 2017 at 5:28 pm #1339052
riwaroParticipantHello,
On the customer account page I would like to add a link directly to the shop. That should work? 2. How do I move the page title (My Account) further to the right?
attached a picture
Many greetings ThomasJanuary 20, 2017 at 9:52 pm #1339328
Prasant RaiModeratorHello There,
Thanks for writing in!
1) 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. We’re afraid that it won’t be as simple as some CSS code. We would need to edit some woocommerce php, or write some scripts. You may wish to consult a developer to assist you with this.
2) Could you please provide us with your website URL so we can take a closer look?
Thanks.
January 21, 2017 at 2:47 am #1339456
riwaroParticipantThis reply has been marked as private.January 21, 2017 at 2:59 am #1339466
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.woocommerce-account header.x-header-landmark.x-container.max.width { display: none; }Hope that helps.
January 21, 2017 at 3:11 am #1339472
riwaroParticipantHello,
I have entered the code in the css. But has nothing to do with the link in the shop?
🙂Thomas
January 21, 2017 at 3:19 am #1339482
ChristopherModeratorPlease update account page to :
<div class="x-column x-2-3">[woocommerce_my_account]</div> <div class="x-column x-1-3">[button type="real" shape="square" size="mini" href="http://kwonro.riwaro.de/shop/" title="Example"]shop[/button]</div>Hope it helps.
January 21, 2017 at 3:19 am #1339483
riwaroParticipantI found this plugin – WooCommerce Login. I hope it works.
January 21, 2017 at 3:20 am #1339484
riwaroParticipantthis code in the css?
<div class=”x-column x-2-3″>[woocommerce_my_account]</div>
<div class=”x-column x-1-3″>[button type=”real” shape=”square” size=”mini” href=”http://kwonro.riwaro.de/shop/” title=”Example”]shop[/button]</div>January 21, 2017 at 3:23 am #1339486
Rue NelModeratorHello There,
Please let us know if the plugin works out for you.
And by the way, this is not a css code. It is a valid html code and you should only place this in the page content description.
Hope this helps.
January 21, 2017 at 3:25 am #1339487
riwaroParticipantist this the my-account.php ?
January 21, 2017 at 3:29 am #1339490
riwaroParticipant“And by the way, this is not a css code. It is a valid html code and you should only place this in the page content description.”
Clear. Just worked very long tonight …..
January 21, 2017 at 4:01 am #1339503
riwaroParticipantHello,
now we almost have it.
1. The button should be slightly larger.
2. The text comes twice. Probably the wrong position in the my-account.php<? Php
/ **
* My Account page
*
* This template can be overridden by copying it to yourtheme / woocommerce / myaccount / my-account.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (The theme developer) will need to copy the new files to your theme to
* Maintain compatibility. We try to do this as little as possible, but it does
* Happen. When this happens the version of the template file will be bumped and
* The readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce / Templates
* @version 2.6.0
* /If (! Defined (‘ABSPATH’)) {
Exit;
}Wc_print_notices ();
/ **
* My Account navigation.
* @since 2.6.0
* /
Do_action (‘woocommerce_account_navigation’); ?><Div class = “woocommerce-MyAccount-content”>
<? Php
/ **
* My Account content.
* @since 2.6.0
* /
Do_action (‘woocommerce_account_content’);
?>
<Div class = “x-column x-2-3”> [woocommerce_my_account] </ div>
<Div class = “x-column x-1-3”> [button type = “real” shape = “square” size = “mini” href = “http://kwonro.riwaro.de/shop/” title = “Example”] Shop [/ button] </ div>
</ Div>January 21, 2017 at 4:50 am #1339529
ChristopherModeratorHi there,
There is duplicated content, since you have shortcode in this page http://kwonro.riwaro.de/wp-admin/post.php?post=8964&action=edit
In previous replay https://community.theme.co/forums/topic/my-account-page-with-link-to-the-shop/#post-1339482, I was referring to updating this shortcode to the one I provided.So please do one of the following methods:
#1 Follow my previous replay https://community.theme.co/forums/topic/my-account-page-with-link-to-the-shop/#post-1339482, update shortcode and disable your plugin.
#2 Or enable plugin and remove
[woocommerce_my_account]shortcode from account page. Also remove folloiwg code :<Div class = “x-column x-2-3”> [woocommerce_my_account] </ div> <Div class = “x-column x-1-3”> [button type = “real” shape = “square” size = “mini” href = “http://kwonro.riwaro.de/shop/” title = “Example”] Shop [/ button] </ div>Hope it helps.
January 21, 2017 at 4:59 am #1339535
riwaroParticipantHello
I would like to use the code. Property but the wrong position in the php. Where exactly must the code pureJanuary 21, 2017 at 5:11 am #1339543
riwaroParticipantHello
I changed it. Only the button to the shop and the link are not displayed correctly.Thomas
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1339052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
