Forum Replies Created
-
AuthorPosts
-
joeyParticipant
ok so i get it now how wp wants to works this.. its fine I guess they are doing the best they can I might get hosting there someday they have some nice features.
joeyParticipantok thanks that makes sense ill just get them from the SEO site
joeyParticipantI think you can do that in the customizer area for the blog but here is a video from the theme creators on the blog looks like it will do what you want.
joeyParticipantI was able to sort of center the demo menu by adding a margin left to the header what is does is spread out the menu items.. so it seems more centered..
I think than the idea is you use the inspector on your browser like I did to just experiment with margins and maybe padding but text align is not effective under any of the css so far as I saw..again I just used the web inspector and tried different codes see below as the one that I saw worked best more or less.. anyway just looking around here and I did deploy this theme so I wanted to take a look...genesis-nav-menu .menu-item {
margin-left: 60px; -------This is the one I added
position: relative;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
flex: 0 0 auto
}joeyParticipantI see some of this as well..My view is its not as bad as all that but I am finding it a bit difficult to embrace the new direction to the customizer and all as well..
So lets see..I am not at all going to jump on a the full bash wagon but yes it seems to be a bit in the direction of more than less..
๐joeyParticipantHold on here Divi is not so bad as all that in fact I have seen many professional sites using divi and they load fine.. now Victor is correct in that yes there is a lot of software in there and it can be difficult to wrangle it but all in all to be fair if you know what to do Divi is fine..
I personally do not use Divi.. I am just reporting what I have seen and I have been logged into Divi thru a friend that uses it..April 22, 2015 at 12:01 pm in reply to: Could Use Help WIth Diverse Solution IDX, I have Agent Press Genesis #148821joeyParticipantHi
Agent press works with idx express out of the box from what I understand
So if you have a diverse solutions account than you just add the plug in and not worry about code.
I have set up themes with IDX broker before but IDX express is super simple just add the plugin.
the IDX is usually a set of php tags that open and close inside a area of content.
IDX broker also has other ways to add the feed to any theme..
like this but it requires a set up at IDX broker in the Global wrapper
<div id="idxStart" style="display: none;"></div>
<div id="idxStop" style="display: none;"></div>
or this a nice little action hook/**
* Add IDX Broker Start and Stop tags for wrapping
*/add_action('genesis_before_loop', 'idxbroker_start');
function idxbroker_start() {
echo idx_start();
}
add_action('genesis_after_loop', 'idxbroker_stop');
function idxbroker_stop() {
echo idx_stop();
}again this is not super hard but what you want is someone who can place the proper code in the proper spot.. and than fine tune in IDX broker..
If you have another IDX the same basic principal applies..
You have to read documentation on how to use the plugin they have or not and how to place the code
or have someone who can at least show you they can do it than have them set it up or walk you thru
it. Yes you can create a spider that is sort of complicated but to tell the truth I find that say with IDX broker documentation is good and its just a matter of wading thru it and trail and error..
You know I remember way back in the early days of Revolution Brian Gardner said a lot of what launched Revolution was trill and error.. somewhere I read that any way.. So get some Starbucks and try it all out..
๐joeyParticipantyes I can confirm this worked very well it removed the loop and the sidebar.
You could than if you wanted add a new widget area here..or really anything.Thanks for this much appreciated
joeyParticipantWell hi to you and you are in the right place..
๐joeyParticipantyour doing a good job the colors pop a bit and the menu is clear with the angle highlight and so far your readability
is good.. if you stick with it it will be a great site..joeyParticipantSure this is the css from the theme where say if you had a image logo you know to drop in there..
you could put that image or logo in the images folder and than type that into the background
where I have it than you probably would need to be sure it is fixed.. and does not repeat..
so maybe this would be best
site-header {
background-image: url(images/header.png) no-repeat center center;
background-color: #fff;
border-bottom: 3px solid
#000;
}
here it tells it to not repeat and just sit center.
so if the header is what 1040px by 90px ( im not sure just guessing..) your full header image should
fill up the space and display your content be it photo color or logo.. so check the dimension if you want to be precise.
If you have not worked with the css much and it seems like you have not..
dont be worried.. see here is the dope.. many people say studiopress is hard but they(studiopress) use very elegant code and the CSS is some of the best out there.. simple where it should be harder where is should be.. look at the way the themes drop into mobile.. very smooth compared to just about everything else..
Im not sure if I had quotes in there or a full url all that sometime depends on the host your with and some other things..
If this is not workable than you might have to find a mod here who will go into more much more detail..
I will say this I have found the CSS to be the one area where you can just go nuts and set up a studiopress theme like it was your own all day and all night and never have to set a function or php code… like the old zen garden days..
๐joeyParticipantHI
Your doing a real good job there on design but you have removed the code to lay in the bars so you have a square which is ok if thats what you want but the code below will restore them if not just do not replace the part of f333.. that what is adding the bars… the color change will change the bars if you restore them..
this is the css I used to change that 3 bar or little menu see color #000 thats black I went with #8b90b5
but you could go with #fff which is white or #eee which is like a light sliver color… or?? sky is the limit! ๐.responsive-menu-icon::before { color: #000; <------------this is what controls the color so you could go fff or you know :) content: "๏ณf333"; <------------this is what displays the bars display: inline-block; font: normal 20px/1 'dashicons'; margin: 0 auto; padding: 10px; } news media="all"
joeyParticipanthi I have been messing around with News pro a bit and what I did was add my image here below see code...
I added my image to the images folder and placed the code in the css file.. You might have to trail and error it a bit of course you have to turn off the titles and all..or find a way to work around titles but using a image for logo you ahve options...but this is where you would start..if you go beyond the customizer area in WP.
What you want to do is try to go into the css of the child theme and by pass the customization area where your more restricted in a way.. now this bit of css below will not solve your problem its just a example of maybe a better place to start.. you can place a full size png in here at 1040 or 1200 at height and get to experimenting for best result..
I just jumped in here since I do actually happen to be experimenting with NP so dont flame me im not a mod..here is a example of part of what you can do… if you use fire bug you can see several areas in the header to do some cool things and get respect.. ๐
site-header { background-image: url(images/header.png); background-color: #fff; border-bottom: 3px solid #000; }
joeyParticipantHI
This is a complicated issue you should run your site thru Googles pagespeed
this will list your issues and well you have many..very many
Just click this link and add your url and you will see the pain you are in
๐ ( no offense Im just off work and trying to help out here today)
https://developers.google.com/speed/pagespeed/insights/joeyParticipantHi
you have to install the font and than set your css, so your best bet is to use font face
http://www.fontsquirrel.com/tools/webfont-generatoror use google fonts and there are some genesis tuts on how to get google fonts in your Genesis theme.
Just look around its not too difficult.For Bebas you will need font face or even type kit..
I think type kit is easier because I think if I remember right they do most of it for you..
I think..
๐joeyParticipantHi
I think you just need to re-position your widgets..
The text you see is because the widget you had there is inactive.
Drag the widgets back in place and it should be fine..
At least thats what happened to me once a few years ago.
๐joeyParticipantOk I appreciate your trying to answer this but I think I was not clear in what I was saying is a lock out.
That link you show to the user log in on the codex is correct..thats where I got that code..
the real way to explain why Genesis is a basically a lockout is this. Let me clear this up once and for all.
My example
I want to set up a simple member page. I do not want to use a plugin. Why? Its a temporary thing..maybe say for a few weeks.
So I use 3 basic things.. I create a template page and add my content. I than add the code from the codex to protect this page.
<?php if ( $user_ID ) : // if logged in ?> ย ย ---See this sits at the top of the page
This last part from the codex sits at the footer of my template page. Above the <?php tag..
<?php else : // if not logged in go to login page
$url = '/wp-login.php?action=register';
header("Location:$url");endif; // end if logged in
?> ย ย <--this is usually placed below theย <?php get_footer(); ?>I now have the page for *most WordPress themes protected (Try it youll like it)
Next
I than ask a user to register by setting up a custom registration form.. I use peters login redirect to finish it off.
So user logs in is redirected to the content page..There are other simple ways to finish off a simple member page.
Ok now for the Studiopress thing.. Genesis will not accept this code the theme kicks out a PHP error..
Further I have tested this code snip (and many others) and done this very same thing in just about every theme out there including some large frameworks.
You Nick are correct I *assume if I were to write that code as you sate above
$user
= wp_get_current_user();
$user_ID
=
$user
->ID;
the "Genesis way" I say assume I have not tried this I am off on a new theme now. I under stand that genesis() loads genesis and is killer code for *Genesis..but just leave here go out get snips try them in a genesis template and tell me i am wrong..You have to re-write it and thats not possible..for many..for you and all the gurus sure..but the codex is there for a reason.So I can go in learn apply and fly..not go in fail go to the studiopress forums and ask,learn again,learn more lose time than finally get where I need to be.. Right? ( im sure to be flamed for this)
So see what I am pointing out here? I can not go just get code from the WordPress codex and drop it in a Genesis template.
Plus I really do not want to spend a inordinate amount of time in here asking questions about code snippets I know will work else where.
If you doubt this try this simple member page experiment across some themes and than with A Genesis child theme..You will see exact what I say here.
Im sorry I should have been more clear but I am right.. you are right as well..but noway do I have time to learn your way to write PHP just to use Genesis..That is not fair..
This is my main point about Genesis and simple code form WP codex and I think you are right in asking a person to jump in learn but no..I would rather not at this point..
There is no time for that. I have found a framework that works well and allows me to really use all the snippets I have.
Im sorry for not being clear but I will not back down I am right..I saw how a lady was treated in the comments once for say Genesis was too hard..Flamed and blamed by the Genesis faithful but she was right..(i suspect she is no longer using Genesis)
I have tested this and many snips of code from wordpress..many do not work well..
Again sorry I lose not you I have many hundreds of dollars in Studiopress..but thats ok.. no time to whine..
Thanks for your help and for being nice..you can close this thread..
and if you want delete me.
๐
joeyParticipantOk fine Nick ย you ย have answers, if you code it that way or the "genesis way". I used that snippet correctly -exact from the WordPress codex.. look at your statement, you are basically saying because you use genesis you CAN use that php code from the WP codex but……you must wrap it like this or write it like this..(see your example) I tested the codex code in 2 other major frameworks and applied it at the top ( and closing snippet at bottom) of my template page I created and it worked fine..I would have had to come in here search, ask a dumb question waste your time..when what I know to do is go to the codex and get code and place it in my templates..now how am I wrong..Genesis is a lock out or at least a time wasting step to find out how to use codex snippets in a Genesis template.
Further I do not want to ask customization questions in here..its not really appropriate IF a person customizes a template or framework it usually falls outside of support..Support is supposed to just cover the function of the framework..right?
Look I am in the game here I am a pro plus member and have been. Im just feeling a bit compromised..Genesis is fine if all you do is go from PSD to Child theme..or add plugins (all plugins work well) its the little bits of code from the WordPress codex that do not work well..and that is a fact..I like the codex its what we are supposed to do and use..or so I thought..Im sorry…I do not post this without first working it thought and finally im not about to start coming in here with questions I know can be answered..Ill just do it different..You know you could try my example in other places before you tell me what is correct..you mean to say correct code for Genesis..or for a Genesis template. Do not forget this
genesis(); This closing tag is what really is kicking out code form the wordpress codex.. That closing tag is usually something like this closing a template pageย <?php get_footer(); ?> Why run me around anyway? Quote "As to WordPress functionality not working in Genesis. We actually work very hard to use WordPress functionality. We do not replace it or lock it out. Most likely it comes down to correct usage. Using your example, you cannot use a global variable inside a function unless you declare it first. This is PHP 101 and is pretty easy to deal with."
Why not just do your own experiment? If I am wrong I would admit it..That statement is total B.S. I have got to call you on that.. No offense..
But I did my homework..You must clear it say this is how to write it in Genesis to work in Genesis.. Not You are wrong this is php 101
Thanks
(Posting as public)
joeyParticipantThis reply has been marked as private. -
AuthorPosts