CSS Assistance

Marketplace Forums Themes Sarmys CSS Assistance

Tagged: , ,

This topic contains 5 replies, has 4 voices, and was last updated by  myrl58 1 year, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4193

    learning
    Member

    I want to move the text box further up the page vertically than the default position. I cannot find the code in the CSS files. Can you please direct me to the correct CSS code page and to the line that I need to change? I believe the <div is tempo-section or tempo-hentry… something like that.

    I am specifically looking to change the Page template (as opposed to blog or post). I am assuming I have to change a margin or padding for that white text box.

    Thank you

    #4199

    Serge
    Member

    Hello,
    Here is the code we use, you have to customize the values.

    body.page.tempo-has-header .hentry div.sarmys-content,
    body.single.tempo-has-header .hentry div.sarmys-content{
        margin-top: -240px;
    }
    
    @media (max-width: 1199px){
    	body.page.tempo-has-header .hentry div.sarmys-content,
    	body.single.tempo-has-header .hentry div.sarmys-content{
    	    margin-top: -200px;
    	}
    }
    
    @media (max-width: 991px){
    	body.page.tempo-has-header .hentry div.sarmys-content,
    	body.single.tempo-has-header .hentry div.sarmys-content{
    	    margin-top: -160px;
    	}
    }
    
    @media (max-width: 767px){
    	body.page.tempo-has-header .hentry div.sarmys-content,
    	body.single.tempo-has-header .hentry div.sarmys-content{
    	    margin-top: -120px;
    	}
    }
    
    @media (max-width: 520px){
    	body.page.tempo-has-header .hentry div.sarmys-content,
    	body.single.tempo-has-header .hentry div.sarmys-content{
    	    margin-top: -80px;
    	}	
    }
    #4202

    learning
    Member

    Wow, this looks like exactly what I need.
    However, I cannot find this bit of code anywhere in the Sarmys or Tempo themes. While logged into my website, I go to Appearance>Editor to find the CSS.
    Am I in the wrong place? Where else can I go to be able to customize the values?
    Thank You

    #4203

    Serge
    Member

    Edit the values from the Custom CSS section where you past the code(Admin Dashboard > Appearance > Customize > Additional CSS).

    #9067

    Your article is very knowledgeable for all this people.

    #9900

    myrl58
    Member

    Do you want to log in to Hotmail, but see that this page has completely changed? Hotmail was one of the largest free webmail sites in the Netherlands and even the​ …Hotmail Inloggen

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

[email protected] [email protected]