Support › Forums › Support (Legacy) › Reduce the space between menu text and the slider
Tagged: Buzz
-
AuthorPosts
-
16/09/2016 at 19:18 #2182
יצחק לשר
ParticipantI have a slider in the front page. I want reduce the space between its upper border and the menu text by doing:
1. Reduce the header height or at list its padding bellow the menu items.
2. Reduce the gap between the header and the slider.
Is it possible and how?
Thx18/09/2016 at 14:08 #2187Boaz
KeymasterThis reply has been marked as private.20/09/2016 at 12:11 #2196יצחק לשר
ParticipantThis reply has been marked as private.20/09/2016 at 12:29 #2197Boaz
KeymasterDid you add code to your child theme?
If so, i need you to switch themes with the main one, in order to check more thoroughly.21/09/2016 at 8:26 #2203יצחק לשר
ParticipantDone
21/09/2016 at 11:54 #2209Boaz
KeymasterI see you have changed something in there.
You have replaced the slider with a widget area?26/09/2016 at 12:39 #2215יצחק לשר
ParticipantI tried to play around with it a a little but couldn’t fix it.
I’ll get back to you when I’ll finish to restore the site to its original state.
Thx27/09/2016 at 5:05 #2219יצחק לשר
ParticipantI restored the site to its original state.
Regarding you comment I see bellow the “Main Slider” the following widgets:
Posts
Image
Text
Video
RextI don’t see them in the front end…
I don’t know where they came from, but do you think I should dismiss them?27/09/2016 at 10:02 #2223Boaz
KeymasterSorry, but I lost you a little bit 🙂
Are we still talking about the slider issue?
I tried to login to your admin panel, but it seems like the details i have are not valid anymore..27/09/2016 at 10:15 #2224יצחק לשר
ParticipantThis reply has been marked as private.27/09/2016 at 13:17 #2225Boaz
KeymasterFirst of all, please update your theme (and preferably all of your plugins).
Also, could you please tell me what changes did you do in you child theme?
In order to check this i would need you to change your theme to the main one.
28/09/2016 at 7:55 #2227יצחק לשר
ParticipantI updated everithing
Here are the changes:
In functions.php of the child I added the following(to increase speed)
/*** Remove Query String from Static Resources ***/
function remove_cssjs_ver( $src ) {
if( strpos( $src, ‘?ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}
add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );I added some css as follows(my explanations follows with the code):
/* enlarg search icon on menu */
.fa-search:before {font-size: 15px;}/* responsive menu */
@media (min-width: 767px) and (max-width: 1028px){
body.rtl .sf-menu li {
padding: .10%;
}
}/* top bar responsive */
@media (min-width: 384px) and (max-width:767px){
#top-bar .pull-left, #top-bar .pull-right {
width: inherit;
/* float: left !important; */
}
}
/* copy right font size */
.pull-left-copyright{
font-size: 1.5em;
}.pull-right-copyright{
font-size: 1.5em;
}/* align addresses in purchase order */
div div address {
clear: right;
}/* eliminate related products distortion when there are 4 related */
ul.products li:nth-child(3) {
float: left !important;
}/* adjust my addresses editing in my account endpoint */
.woocommerce-Address a {
float:right !important;
}.woocommerce-Address h3 {
float:none !important;
}28/09/2016 at 10:34 #2228Boaz
KeymasterCan you change the theme back to the main theme so we could have a look?
28/09/2016 at 15:03 #2231יצחק לשר
ParticipantI have exchanged…
29/09/2016 at 12:19 #2232Noa
KeymasterThis reply has been marked as private.29/09/2016 at 12:52 #2233יצחק לשר
ParticipantI can see that you’ve inserted the WC store into the page, in what way did you do so?
I simply defined in Woocommerce that this page is the shop
here is the corresponding settings:
Shop & Product PagesShop Page #10 (no title)
Secondly, did you insert any coding into the theme’s files?
Yes, as I pasted above but only in the child theme29/09/2016 at 14:40 #2234Noa
KeymasterThis reply has been marked as private.02/10/2016 at 12:16 #2236יצחק לשר
ParticipantThx Noa
So what is the solution?
Shana Tova05/10/2016 at 8:22 #2238Boaz
KeymasterThe design of a shop page derives from WOOCOMMERCE.
You can not design it as you design a regular page.
Unfortunately, there isn’t a built-in way to solve this issue without editing the code (and we can’t offer a custom code for it..) -
AuthorPosts
- The forum ‘Support (Legacy)’ is closed to new topics and replies.
