Want a "site name" block that simply has two sections, a right and a left
Permalink
Hi,
Sorry, I'm extremely new to any sort of HTML programming, website building, etc...
At a base level, I am having a hell of a time trying to figure out how to create a block that does not span the entire width of my webpage. I simply want a block (I'm guessing its a block as a opposed to a stack...?) that has a space for an image/logo on the left, and a space for an image on the right. I would like the ratio of left image width to right image width to be 1:2 or in other words the left image should be half as wide as the right image.
If I could just "add layout" to the "site name" field, problem would be solved. But I can't.
Thanks,
Casey
Sorry, I'm extremely new to any sort of HTML programming, website building, etc...
At a base level, I am having a hell of a time trying to figure out how to create a block that does not span the entire width of my webpage. I simply want a block (I'm guessing its a block as a opposed to a stack...?) that has a space for an image/logo on the left, and a space for an image on the right. I would like the ratio of left image width to right image width to be 1:2 or in other words the left image should be half as wide as the right image.
If I could just "add layout" to the "site name" field, problem would be solved. But I can't.
Thanks,
Casey
Thanks for the info Rony, but I'm a bit lost. When you say ROOT, is that a directory on my website or on my local drive?
Sorry, total noob.
Sorry, total noob.
ROOT means your concrete5 installation directory. If you are in local it then should be localhost but if you are in server then it might be public_html
Rony
Rony
Okay I have my header.php file open for this theme. Where do I paste this new code section? Also, not sure what to delete...
I'm assuming I delete everything from
<!--start main container -->
and below. Is that correct?
I'm assuming I delete everything from
<!--start main container -->
and below. Is that correct?
Attach the header.php file as a zip. I'll put the code there. Then you can adjust your css.
Rony
Rony
I think this is the correct header.php file. However, the file path seems different than what I followed last time. Not sure how this could have changed.
Path for the attached header.php file:
public_html/concrete/themes/greek_yogurt/elements/header.php
Thanks
Path for the attached header.php file:
public_html/concrete/themes/greek_yogurt/elements/header.php
Thanks
Note: if you are using Concrete5 default theme, then you need to copy the entire theme from ROOT/concrete/theme/theme_NAME/ and paste it into ROOT/themes/ folder. But if you are using any other theme from marketplace, then simply copy the theme from ROOT/packages/themePackage_NAME/themes/theme_NAME/ and paste it into ROOT/themes/ folder.
Then open your herder.php and put the below code.
You need to set the css for 2 div ID logo & header_image. So that it adjust its size to 1:2 proportionate.
Rony