I'm new to Sharepoint, so I'm having difficulty with some basic stuff. I've already posted this to the SharePoint StackExchange, but I thought I'd try my luck here as well. Let me know if what I'm doing is wrong, and I will remove my post from here!
My end goal is to basically make something that looks like this.
You can see what my current page looks like on the first image of this link. On the second image of that link, you can see how the layout looks in Sharepoint. As you can see, it's just a bunch of content editor web parts with html/css in them. I apologize for making the image pretty zoomed out, but in case you can't see there is a header section, a top-left section, a right section, a center-left section, a center section, and a center-right section.
There are a few things I need to change to my current page to make it look like what I want.
I need to make the paragraph expand the width of the paragraph at the top (I want the width for the header section to reach all the way to the end of the last blue box on the right)
I'm having trouble fixing the Right section of the webpage. I needed to use a lot of margin-top on the first blue box in that section in order to line it up with the rest of the boxes. But, as you can see from the third image of the link, there is an issue when I zoom out, which makes me think that it will not look right on different sized screens.
Last, and the part I'm having most difficulty with, is changing the color of all of these boxes to white and then putting them inside a blue background. I'm trying to make it look that first link, where I have a heading with a paragraph, and then the boxes underneath that paragraph are all inside a blue background. I am not sure how to go about doing this considering that they are all in different web parts so I wouldn't really know how to put them all inside a container.
This is what the code looks like for the boxes if it could be of any help, it basically just looks something like this:
<!-- Large Box -->
<div class="largeBox"></div>
<!-- Small Boxes -->
<div class="box"></div>
<style>
.largeBox {
width: 800px;
height: 250px;
background: rgb(0, 122, 201);
}
.box {
width: 250px;
height: 250px;
background: rgb(0, 122, 201);
}
</style>
And that's pretty much it except for very slight margin-left and margin-right to align some of the boxes.
Sorry again if I'm asking for way too much, I'm just very new to Sharepoint and it's taking me a bit of time to get used to it. Any help would be very much appreciated.
Related
I'm currently in a web design class to learn to code, but I have been struggling with a code and cannot figure it out for the life of me.
I have my portfolio website I'm currently working on and cannot figure out how to get the background color of my main section to go all the way to the page. If you look in the attached screenshot, my main section won't go to the bottom of the page. I have tried height: 100% and height: 100vh with no luck.
Photo of problem:
Coding is to much to post because I'm not even sure what could be causing it...however, the website link is here if you could look at the page source:
http://cherylju.com/com6338/p1_Ju_Cheryl/about.html
Any help would be amazing! I've been trying to figure this out for hours now.
Wrap you sections side by side inside a div and give it the property display:flex
<div style="display: flex;">
<section class="secondary-page"></section>
<aside class="resume"></aside>
</div>
Doing it you 'll notice inmediate changes (including what you are looking for) but the order of the sections will be changed... Then, You can get rid of float that it's not at all the best option for your goals... specially if badly used (you don't use float right to an element and float left to the other... both need same direction).
More about flex here
I am building a website using Divi, and for a couple of the pages there is a requirement to have a sticky menu, along with a top title section combined as though they were one. Ideally I would like them to remain in their current position and simply scroll with the page without knocking out the formatting.
Code used so far is as follows:
.stickyheader{
position: sticky;
position: -webkit-sticky;
top: 55px;
}
#page-container{
overflow: visible !important;
}
I have tried naming both the title section and menu section with the class name 'stickyheader' in the hope that both would be lumped together. This does appear to make both elements scroll with the page, but the formatting goes out the window and they start overlapping and squashing up at the top of the screen, plus the space at the top of the title section has increased which throws the formatting out for the whole page, as everything has been adjusted to fit over the background image.
Both sections are global, for ease across all other pages as these two elements appear the same on each one.
Does anybody have any suggestions? Is there an easier way to do this?
Thanks in advance!
Sure thing, you can do that easily, making sure that you are using the latest Divi version which has the Theme Builder. With it, you can design a template which can govern a specific page and you can assign a fixed position to any element:
No need to use CSS. You can also take other approach:
https://www.elegantthemes.com/blog/divi-resources/how-to-create-a-fixed-header-with-divis-position-options
https://divilife.com/how-to-make-to-your-divi-4-0-header-fixed-or-sticky/
https://www.divithemeexamples.com/make-your-divi-4-0-header-sticky-or-fixed-with-the-theme-builder/
I've been trying to remove the white space behind my header. FYI, I've set the Header Bakcground to transparent, but certainly the main (body post) background still looks white.
If I change the main background to transparent, which will make the header turns clear, the body post will obviously turn clear as well. But I only want the header to be clear.
I tried the trick from here: http://www.blogdesignsbydani.com/2013/02/how-to-make-your-own-custom-blog.html (Step 5-6) about last year. But I can't apply the same trick with my current blog: http://silvertreasure.blogspot.com.
Can anybody take a look and see what's wrong with my blog this time?
You might have to move your tabs-outer div outside of the main container to achieve the look you desire. I can only guess that you want something like this because your description is not clear and the right click block on your blog would not allow me to perform edits more than once. See the attached picture to see how if it should look like this.
You can then proceed to adjust your widths and background-colors to match your needs.
If all you're trying to do is move the main content down below the menu, do this:
.fauxborder-left {
margin-top: 20px; /* or whatever */
}
You may also need to apply it to .fauxborder-right.
I have a Genesis Child Theme that's behaving very strange. The layout looks correct, but there's a huge blank white space on the right side and a scroll bar at the bottom. I can't for the life of me figure out what is causing the white space. There isn't a single div sticking out into that white space when I inspect with developer tools, and I can't find anything in the css that would be causing that issue.
The basic structure of the site is
<body>
<site-container>
<header>
</header>
<site-inner>
</site-inner>
<footer>
</footer>
<site-container>
</body>
There are additional divs within the above structure, but there are tons of them and I'm not sure listing each one is valuable since the site itself will need to be inspected. I can't possibly list the entire code structure since it's a genesis based wordpress site.
Does anyone have a clue what might be causing the whitespace? I encountered this problem once before with a genesis child theme, but it turned out to be an image that wasn't resizing and it was easy to find the issue. This time I can't find it for the life of me.
Here's the site link again.
The problem is caused by some CSS on your search input, around line 1456. Remove the width: 100%:
#search-3 input {
width: 100%;
}
I would like to be able to have a logo overhang from a header, see this link for a visual example. From what I've searched, most of the results are about making this happen with WordPress rather than just in terms of HTML/CSS (including the provided link). I'm using RoR alongside Twitter Bootstrap in order to create some quick styling of the page including the header (possibly pertinent information).
I'm guessing the answer to this question really is HTML/CSS-centric, so, if I had a header <div> that included a logo to the left as well as a set of navigation links to the right, how could I go about making that logo overhang into the rest of the page below?
Also, bonus points if the ability to add a slight shadow to the part that overhangs is included :)
You can use the z-index property (CSS) to set your logo image so that it is always in front, then you can position the image in your header and it will look like it's hanging. The slight shadow should be part of the image itself.
Try using css code with
position: absolute;
This will ensure your logo floats on top of wherever you want it. Then adjust how you want to place your logo image with:
margin-top: 100px;
using whatever px you want.