Tagged: x
-
AuthorPosts
-
January 12, 2017 at 8:15 pm #1328155
zendernParticipantDear X team!
I am using v. 4.6.4 X Theme with activated child theme and Icon Stack. WordPress veersion 4.7.1
URL: http://happypeople.blogI have upgraded my old premium theme “Simple & Elegant” to Theme X and I am happy I did. Now I am trying to give my site the same look as it was with my Simple & Elegant theme.
Old site URL: http://makoeva.net/I want to have a grey full width top bar with a Contact Me link on the left of the topbar and Search field on the right of the top bar, just like or similar to http://makoeva.net/
I have tried following instructions on link below, but with no success: https://community.theme.co/forums/topic/topbar-with-wp-menu-search-field/
Best regards,
January 12, 2017 at 11:32 pm #1328328
RupokMemberHi there,
Thanks for writing in! You need to place the link and search box within Customize > Header > Topbar Content. To change the background color, you can add this under Custom > CSS in the Customizer.
.x-topbar { background-color: #f5f5f5; }Cheers!
January 17, 2017 at 6:06 pm #1334250
zendernParticipantHi Rupok,
That worked, thank you!
I added height attribute to control the height of top bar.
Like this:.x-topbar { background-color: #f5f5f5; height: 3.5em; }I also aligned two elements in the top var using this code:
.align-left{ float: left; padding-top: 10px; font-size: 12px; } .align-right{ float: right; padding-top: 10px; }I also need to align these two elements on left and right with the width of post text container in the middle of the page.
Can you please help me with this as well?All best
January 18, 2017 at 12:26 am #1334604
RupokMemberHi there,
Thanks for writing back. I can help with that. Let’s add this CSS as well :
.x-topbar .container { padding: 0 10%; }Cheers!
January 18, 2017 at 2:58 pm #1335620
zendernParticipantThat worked beautifully, thank you!
January 18, 2017 at 3:41 pm #1335698
JoaoModeratorGlad to hear it 🙂
Joao
January 19, 2017 at 9:09 pm #1337743
zendernParticipantDear X team,
After further testing, we found that the top bar does not display correctly and its elements do not align correctly on smaller size screens like tablet and smartphone.
Can you please help me with this as well?
All best,
January 19, 2017 at 11:31 pm #1337872
Paul RModeratorHi,
To fix it, you can add this under Custom > Edit Global CSS in the Customizer.
@media (max-width: 767px) { .x-topbar .p-info { padding:0; } }Hope that helps.
January 20, 2017 at 9:54 pm #1339331
zendernParticipantThat worked great!
Your code fixed all the problems except that my search box was too wide and it misaligned on small screens anyway.
So I added this code:
@media (max-width: 767px) { .align-right{ width: 30%; } }.align-right is my search box div
Thank you for your support!
January 20, 2017 at 11:39 pm #1339378
FriechModeratorWe’re delighted to assist you with this, feel free to get in touch with us regarding any further queries about the X|Theme and Cornerstone.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1328155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
