Community Forums › Forums › Archived Forums › Design Tips and Tricks › Margin gap added for widget
Tagged: Executive theme, Margin, widgets
- This topic has 9 replies, 2 voices, and was last updated 10 years, 9 months ago by Davinder Singh Kainth.
-
AuthorPosts
-
February 16, 2014 at 5:46 pm #90665Brain-eMember
Hello I am using exec theme and I would like to know how I can add a gap on the right of the 480 layout. As you can see on the 780 they are all spaced out evenly. When the site is viewed at 480 the widgets move move below each other. I would like them to have that small gap on each. I have played about with margin size to no avail. Any clues?
http://i.imgur.com/SpoOQA7.pngFebruary 17, 2014 at 8:28 am #90755Davinder Singh KainthMemberTry this, look for following code in style.css file
@media only screen and (max-width: 500px) { .entry-title { font-size: 24px; font-size: 2.4rem; } .content .entry-header .entry-meta .entry-comments-link { display: none; } }
Replace it by following
@media only screen and (max-width: 500px) { .entry-title { font-size: 24px; font-size: 2.4rem; } .content .entry-header .entry-meta .entry-comments-link { display: none; } .home-top .widget { margin-bottom:30px !important; } }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 17, 2014 at 10:31 am #90806Brain-eMemberFebruary 18, 2014 at 5:03 am #90926Davinder Singh KainthMemberThen use following code instead of above:
@media only screen and (max-width: 500px) { .entry-title { font-size: 24px; font-size: 2.4rem; } .content .entry-header .entry-meta .entry-comments-link { display: none; } .home-top .widget { margin:30px 15px !important; } }
To get exact required look, play around with margin values in above code ( margin:30px 15px !important;)
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 18, 2014 at 6:29 am #90934Brain-eMemberstill no joy!
February 18, 2014 at 6:31 am #90935Davinder Singh KainthMemberCan you share your website url, I will scan through the code.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 18, 2014 at 6:33 am #90936Brain-eMemberit's on a local host,
I can paste the CSS.
February 18, 2014 at 6:58 am #90939Brain-eMemberI'm just uploading the changes to the online site for your viewing 🙂
February 18, 2014 at 7:12 am #90944Brain-eMemberthis is the link http://www.neuroknowhow.com/brain/
You might also be able to help replicate the position of the gravity form button.
I'm stumped with that too.
I think I need to do a course.
February 18, 2014 at 7:24 am #90947Davinder Singh KainthMemberFollowing up on previous code, replace code with this:
@media only screen and (max-width: 500px) { .entry-title { font-size: 24px; font-size: 2.4rem; } .content .entry-header .entry-meta .entry-comments-link { display: none; } .home-top .widget { margin:30px 15px !important; } #text-3, #text-4 { margin:20px 25px !important; } }
Then check...
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.