Jump to content

Archived

This topic is now archived and is closed to further replies.

larrojas

Some help with top-margin

Recommended Posts

larrojas+    8
larrojas

Hello there,

 

I am trying to shorten the distance (d) between the title of the page and the menu.   The page is   http://lacasarojas.com/onlyspanish/argentina/

 

 

I am using Flatten theme. and I tried to reduce the top-margin to 10px from 80px, It works in Firebug but not in custom area in DMS.

 

element.style {
    margin-top: 10px;
}

 

 

any idea how to do this?

 

Thanks 

 

Luis

 

 

 

 

 

 

 

d1.JPG

 

 

 

 

 

 

 

 

d2.JPG

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Luis

 

When you see an area in the inspector which has element.style you need to replace that with the ID for the section.

 

http://screencast.com/t/nW5Cg7pv5

 

#page-main {

    margin-top: 10px !important;
}
 
The space at the bottom seems to be coming from a bunch of empty <p> tags. http://screencast.com/t/9QVSKFpF
Check in that section in html view to remove/delete them.

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
larrojas+    8
larrojas

Hi there,

 

Thank you very much.

 

I checked the <p> tag. Those must come from a "section area". How can I eliminate it? 

 

In the pic below, in that section is where the "navbar" is located. The 'navbar" goes automatically to the upper part of the section. In other hand, If I place the "navbar" in the section above it does the same thing and besides the pic is in the background.  

 

Is there a way to place the navbar in the bottom part of the section?

 

Thanks a lot,

 

Luis

 

 

 

 

pic-3.JPG

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

It appears you have added offset to the Navbar, this is why it is being positioned the way it has.

 

In regards to the Margin-top, this is related to the theme itself, therefore I have moved your topic the store forums, as our staff do not provide support to third parry themes, sections or plugins.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
tmeister+    38
tmeister

Hi,

 

Please try this:

#page-main{
    margin-top:10px !important;
}

Enrique Chavez - Premium DMS Themes, Sections and Plugins.

http://enriquechavez.co

Share this post


Link to post
Share on other sites
larrojas+    8
larrojas

it works!!!

 

Muchas gracias,

 

Luis

Share this post


Link to post
Share on other sites
tmeister+    38
tmeister

You are welcome.

 

Best,

Enrique.


Enrique Chavez - Premium DMS Themes, Sections and Plugins.

http://enriquechavez.co

Share this post


Link to post
Share on other sites

  • Similar Content

    • Rebecca Rinas
      By Rebecca Rinas
      I want my separate tabs to stay open with the collapser flat plugin - they don't show up until you hover over them. Anyone know how to make all of them visible?Thanks
    • kate1000
      By kate1000+
      http://www.kate1000.com   - Theme Flatten - Pagelines pro - DNS
      HEllo, 
      Love my responsive site - I don't have a " mobile url" because my site is responsive. - but on mobile, my site opens to a blank wordpress with a horrid menu. The viewer  has to navigate to some--> tiny tiny light blue link that says " see full site". <-- To see my site -
      I don't know if this is a pagelines issue, a flatten template theme issue , a wordpress issue or hosting issue, or dns issue. 
       
      How can I make my full responsive template site -> be  <- the site they see right away? instad of that untemplated linked wordpress page.
       
      Did I mention net week I have an interview and a few key folks  will be looking at my site over the week - omg  - 
      Thank you anyone who can help!! 
      Kate
    • meanmcbean
      By meanmcbean
      Hi, I am using DMS2 - 2.1.9.3. and Wordpress 4.2.2., not Flatten but could not see how else to post this topic.  I recently bought the Video Slider plugin and after I uploaded and activated it, my site won't load (this is what I see... Oops, There may be an issue loading.
      DMS typically loads in less than 5 seconds. Please check for Javascript or PHP errors.
      (Typically, slow or incomplete loading is related to plugin conflicts or server issues.)
      View the Troubleshooting Guide  
       
       
       
      I thought the problem was probably a conflict with my site's other plugins, so I deactivated each plugin one by one.  That was not the problem.  The culprit itself is the Video Slider plugin.  I then tried to upload the plugin on my other sites and still have the same problem.  Not sure what to do next to resolve this.  Here's my url - http://www.lorilaws.net/ Thanks in advance.
    • alisamski
      By alisamski+
      Hello,
      I'm crossposting here... as Flatten uses the portfolio section...
       
      I purchased the portfolio section separately, and wanting to use it with my site which is about to go from Frameworks to DMS..
       
      Please advise if there are updates to the section so I can incorporate it...
       
      I love the portfolio!
       
       
       
    • Eppi
      By Eppi
      Hi,
       
      I have a problem with the icons from the solid footer menu and also in another part of my site. The Icons are not shown there. Can you help me and let me know what to do to get it solved?
       
      Thanks and best regards
       
      Eppi
×