CSS Assistance

Marketplace Forums Themes Sarmys CSS Assistance

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  Serge 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 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
    Keymaster

    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
    Keymaster

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

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

You must be logged in to reply to this topic.

sau.georgie